From 3415533510e24fb4f496f25a2e6e2a74eec0c260 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 14 Apr 2016 17:31:18 +0200 Subject: no fish --- fish/.config/fish/by_host/2pac.fish | 22 ------ fish/.config/fish/by_host/cluster.fish | 22 ------ fish/.config/fish/by_host/default.fish | 0 fish/.config/fish/by_host/donna.fish | 22 ------ fish/.config/fish/by_host/local.fish | 17 ----- fish/.config/fish/by_host/vicious.fish | 22 ------ fish/.config/fish/config.fish | 125 --------------------------------- 7 files changed, 230 deletions(-) delete mode 100644 fish/.config/fish/by_host/2pac.fish delete mode 100644 fish/.config/fish/by_host/cluster.fish delete mode 100644 fish/.config/fish/by_host/default.fish delete mode 100644 fish/.config/fish/by_host/donna.fish delete mode 100644 fish/.config/fish/by_host/local.fish delete mode 100644 fish/.config/fish/by_host/vicious.fish delete mode 100644 fish/.config/fish/config.fish (limited to 'fish') diff --git a/fish/.config/fish/by_host/2pac.fish b/fish/.config/fish/by_host/2pac.fish deleted file mode 100644 index 71aff72..0000000 --- a/fish/.config/fish/by_host/2pac.fish +++ /dev/null @@ -1,22 +0,0 @@ -umask u=rwx,g=rwx,o=rx - -set -x PATH /home/mitarb/simianer/bin:/home/pks/bin:/opt/java/bin:/toolbox/ruby/bin:$PATH -set -x GEM_HOME /toolbox/ruby/ -set -x PYTHONPATH $PYTHONPATH:/toolbox/python/lib/python2.7/site-packages -set -x JAVA_HOME /usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6 - -alias tmux="tmux -f ~/.tmux.(hostname).conf" - -function fish_prompt -d "Write out the prompt" - set me (whoami) - if [ $me = "root" ] - printf '(set_color red)# ' - else - printf '%s@%s%s%s%s> ' \ - $me (set_color green) \ - (hostname | cut -d . -f 1) \ - (prompt_pwd) \ - (set_color normal) - end -end - diff --git a/fish/.config/fish/by_host/cluster.fish b/fish/.config/fish/by_host/cluster.fish deleted file mode 100644 index 0ba3de3..0000000 --- a/fish/.config/fish/by_host/cluster.fish +++ /dev/null @@ -1,22 +0,0 @@ -umask u=rwx,g=rwx,o=rx - -set -x PATH /home/mitarb/simianer/bin:/home/pks/bin:/opt/java/bin:/toolbox/ruby/bin:$PATH -set -x GEM_HOME /toolbox/ruby/ -set -x PYTHONPATH $PYTHONPATH:/toolbox/python/lib/python2.7/site-packages -set -x JAVA_HOME /usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6 - -alias tmux="tmux -f ~/.tmux.(hostname).conf" - -function fish_prompt -d "Write out the prompt" - set me (whoami) - if [ $me = "root" ] - printf '(set_color red)# ' - else - printf '%s@%s%s%s%s> ' \ - $me (set_color cyan) \ - (hostname | cut -d . -f 1) \ - (prompt_pwd) \ - (set_color normal) - end -end - diff --git a/fish/.config/fish/by_host/default.fish b/fish/.config/fish/by_host/default.fish deleted file mode 100644 index e69de29..0000000 diff --git a/fish/.config/fish/by_host/donna.fish b/fish/.config/fish/by_host/donna.fish deleted file mode 100644 index d3bfa91..0000000 --- a/fish/.config/fish/by_host/donna.fish +++ /dev/null @@ -1,22 +0,0 @@ -umask u=rwx,g=rwx,o=rx - -set -x PATH /home/mitarb/simianer/bin:/home/pks/bin:/opt/java/bin:/toolbox/ruby/bin:$PATH -set -x GEM_HOME /toolbox/ruby/ -set -x PYTHONPATH $PYTHONPATH:/toolbox/python/lib/python2.7/site-packages -set -x JAVA_HOME /usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6 - -alias tmux="tmux -f ~/.tmux.(hostname).conf" - -function fish_prompt -d "Write out the prompt" - set me (whoami) - if [ $me = "root" ] - printf '(set_color red)# ' - else - printf '%s@%s%s%s%s> ' \ - $me (set_color red) \ - (hostname | cut -d . -f 1) \ - (prompt_pwd) \ - (set_color normal) - end -end - diff --git a/fish/.config/fish/by_host/local.fish b/fish/.config/fish/by_host/local.fish deleted file mode 100644 index 78dbdab..0000000 --- a/fish/.config/fish/by_host/local.fish +++ /dev/null @@ -1,17 +0,0 @@ -set -x PATH /usr/lib/colorgcc/bin ~/src/scripts ~/lib/node/bin $PATH - -function fish_prompt -d "Write out the prompt" - set me (whoami) - if [ $me = "root" ] - printf '%s%s#%s ' \ - (set_color red) \ - (prompt_pwd) \ - (set_color normal) - else - printf '%s%s>%s ' \ - (set_color magenta) \ - (prompt_pwd) \ - (set_color normal) - end -end - diff --git a/fish/.config/fish/by_host/vicious.fish b/fish/.config/fish/by_host/vicious.fish deleted file mode 100644 index 019b346..0000000 --- a/fish/.config/fish/by_host/vicious.fish +++ /dev/null @@ -1,22 +0,0 @@ -umask u=rwx,g=rwx,o=rx - -set -x PATH /home/mitarb/simianer/bin:/home/pks/bin:/opt/java/bin:/toolbox/ruby/bin:$PATH -set -x GEM_HOME /toolbox/ruby/ -set -x PYTHONPATH $PYTHONPATH:/toolbox/python/lib/python2.7/site-packages -set -x JAVA_HOME /usr/lib/jvm/java-6-sun/ # debian systems w/ sun-java6 - -alias tmux="tmux -f ~/.tmux.(hostname).conf" - -function fish_prompt -d "Write out the prompt" - set me (whoami) - if [ $me = "root" ] - printf '(set_color red)# ' - else - printf '%s@%s%s%s%s> ' \ - $me (set_color yellow) \ - (hostname | cut -d . -f 1) \ - (prompt_pwd) \ - (set_color normal) - end -end - diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish deleted file mode 100644 index b55263d..0000000 --- a/fish/.config/fish/config.fish +++ /dev/null @@ -1,125 +0,0 @@ -umask 0077 -set -x PATH ~/bin /home/pks/bin ~/scripts ~/lib/ruby/bin ~/lib/python/site-packages /usr/sbin /usr/local/bin /usr/local/sbin $PATH -set -x RUBYOPT -Ku -set -x CCACHE_PATH /usr/bin -set -x TEXMFHOME '~/.texmf' -set -x EDITOR 'vim -p' -set -x LC_ALL en_US.UTF-8 -set -x LANG en_US.UTF-8 -set -x LANGUAGE en_US.UTF-8 -set -x GEM_HOME $HOME/lib/ruby/ -set -x GEM_PATH $HOME/lib/ruby/ $GEM_PATH -set -x PYTHONPATH $PYTHONPATH ~/lib/python/site-packages -set -x CFLAGS "-march=native -mtune=native" -set -x CXXFLAGS "$CFLAGS" -set --erase fish_greeting - -if [ $TERM = "rxvt" ] - set -x TERM xterm-256color -end - -set machine (hostname) -set color white -switch $machine - case x pi* *.uberspace.de - source ~/.config/fish/by_host/local.fish - case 2pac - source ~/.config/fish/by_host/2pac.fish - case coltrane - source ~/.config/fish/by_host/coltrane.fish - case donna - source ~/.config/fish/by_host/donna.fish - case vicious - source ~/.config/fish/by_host/vicious.fish - case CLuster - case node* - case gpu* - source ~/.config/fish/by_host/cluster.fish - case * - source ~/.config/fish/by_host/default.fish -end - -alias ls='ls -h --color=auto' -alias l='ls' -alias la='ls -lA' -alias ll='ls -l' -alias lla='ls -A' -alias lsc='ls -1 | wc -l' -alias less='less -R' -alias lh='ls --color=always -lasth | less' -alias vi=$EDITOR -alias pdf='mupdf' -alias py='bpython' -alias grep='grep --color=auto' -alias equery='sudo equery -N' -alias feh='feh -F' -alias gitweb='git instaweb --httpd webrick' -alias gitwebstop='git instaweb stop' -alias netcfg='sudo netcfg' -alias mergepdf='texexec --pdfarrange --noduplex --result merged.pdf ' -alias mergepdfgs=' gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=gsmerged.pdf -dBATCH' -alias pdfprevfile='pdftoppm -f 1 -l 1 -singlefile -jpeg' -alias thumb='convert -resize 200x200' -alias updatedb='sudo updatedb' -alias qmv='qmv -evim -fdo' -alias dusage='du -hs *' -alias df='df -h' -alias iwlist='sudo iwlist wlan0 scan' -alias fumount='fusermount -u' -alias more='less' -alias reboot='sudo shutdown -r now' -alias halt='sudo shutdown -h now' -alias lock='slock' -alias fwup='sudo ifconfig firewire0 192.168.166.100 up' -alias gunzip='pigz -d' -alias fastltx='pdflatex -interaction=batchmode --shell-escape -parse-first-line' -alias lp2p='/usr/bin/lp -o sides=two-sided-long-edge' -alias lp4p='/usr/bin/lp -o sides=two-sided-short-edge -o number-up=2' -alias lp8p='/usr/bin/lp -o sides=two-sided-short-edge -o number-up=4 -o landscape' -alias muxn='tmux new -s' -alias muxl='tmux list-sessions' -alias muxa='tmux attach -t' -alias biew='TERM=vt100 biew filename' -alias dmesg='dmesg -T' -alias always_on='xset dpms 0 0 0' -alias quotes='curl -s "http://download.finance.yahoo.com/d/quotes.csv?s=AAPL+AMD+GOOG&f=l1"' -alias irb='pry' -alias easy_install_home='easy_install --install-dir=$HOME/lib/python/site-packages' -alias uberspace='mosh -p 60666 pks@alphard.uberspace.de' -alias my_ip='echo "(curl 'https://api.ipify.org' 2>/dev/null)"' -alias gitc='git -c color.status=always' -alias npm_install='npm install -g --prefix ./lib/node' -alias ssh_legacy='ssh -oKexAlgorithms=+diffie-hellman-group1-sha1' - -function demoterm - urxvt -fn 'xft:Tamsyn:pixelsize=18' -fg '#000000' -bg '#ffffff'; -end -function watch_d - while true; clear; ps ax | grep -P "\sD\+?\s"; sleep 5; end -end -function t_timeline - while true; clear; t timeline -n 13 -C icon; sleep 600; end -end -function cal - while true; clear; echo; khal calendar; sleep 600; end -end -function vgaoff - xrandr --output VGA1 --off; - xrandr --output LVDS1 --mode 1024x768; -end -alias vgaclone='xrandr --output VGA1 --mode 1024x768' -alias vgaext='xrandr --output VGA1 --mode 1024x768 --left-of LVDS1 --rotate right' -function vga21 - xrandr --output VGA1 --mode 1600x1200 --rate 60 --rotate right; - xrandr --output LVDS1 --off; -end -function vga22w - xrandr --output VGA1 --mode 1680x1050 --rate 60 --rotate left; - xrandr --output LVDS1 --off; -end -function youtube - mpv -xy 0.5 (youtube-dl -g "$args") -end - -complete -x -A --no-files --command net_profile --arguments '(for i in (ls -1 ~/.net_profiles/*.conf); basename $i .conf; end)' - -- cgit v1.2.3