2019-07-21 01:27:31 +00:00
|
|
|
function fish_title
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2019-10-21 08:08:14 +00:00
|
|
|
if test -n "$EMACS"
|
|
|
|
set -x TERM eterm-color
|
|
|
|
end
|
|
|
|
|
2019-08-06 11:44:56 +00:00
|
|
|
if test "$TERM" = "dumb"
|
|
|
|
function fish_prompt
|
|
|
|
echo "\$ "
|
|
|
|
end
|
|
|
|
function fish_right_prompt; end
|
|
|
|
function fish_greeting; end
|
|
|
|
function fish_title; end
|
|
|
|
end
|
|
|
|
|
2019-10-21 08:08:14 +00:00
|
|
|
function fish_greeting; end
|
|
|
|
|
2019-12-28 21:20:18 +00:00
|
|
|
set -gx PATH \
|
|
|
|
$HOME/.pub-cache/bin $HOME/.local/bin $HOME/go/bin $HOME/.cargo/bin \
|
|
|
|
$HOME/.gem/ruby/2.6.0/bin $PATH
|
2019-10-21 08:08:14 +00:00
|
|
|
|
2019-10-08 12:57:34 +00:00
|
|
|
set -gx SUDO_ASKPASS ~/.local/bin/askpass
|
2019-10-21 08:08:14 +00:00
|
|
|
|
2019-11-03 11:43:01 +00:00
|
|
|
set -gx EDITOR emacsclient -c
|
2019-10-20 23:23:53 +00:00
|
|
|
|
2019-11-23 16:55:52 +00:00
|
|
|
set -gx DART_SDK /opt/dart-sdk/bin
|
|
|
|
|
|
|
|
set -gx ANDROID_HOME $HOME/Android/Sdk
|
|
|
|
|
2019-10-21 08:08:14 +00:00
|
|
|
set -gx PKG_CONFIG_PATH /usr/local/lib/pkgconfig/ $PKG_CONFIG_PATH
|
|
|
|
|
|
|
|
abbr df 'df -H'
|
|
|
|
abbr diskspace 'sudo df -h | grep -E "sd|lv|Size"'
|
|
|
|
|
|
|
|
abbr meminfo 'free -m -l -t'
|
|
|
|
|
|
|
|
abbr gpumeminfo 'grep -i --color memory /var/log/Xorg.0.log'
|
|
|
|
|
|
|
|
abbr cpuinfo lscpu
|
|
|
|
|
|
|
|
abbr pscpu 'ps auxf | sort -nr -k 3'
|
|
|
|
abbr pscpu10 'ps auxf | sort -nr -k 3 | head -10'
|
|
|
|
|
|
|
|
abbr psmem 'ps auxf | sort -nr -k 4'
|
|
|
|
abbr psmem10 'ps auxf | sort -nr -k 4 | head -10'
|
|
|
|
|
|
|
|
abbr remove 'sudo pacman -Rscnd'
|
|
|
|
|
|
|
|
abbr p 'sudo -A pacman'
|
|
|
|
|
|
|
|
abbr purge 'yay -Sc'
|
|
|
|
|
|
|
|
abbr search 'pacman -Ss'
|
|
|
|
|
|
|
|
abbr update 'sudo pacman -Syu'
|
|
|
|
|
|
|
|
abbr s 'systemctl --user'
|
|
|
|
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr S 'sudo systemctl'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr cdebug 'cmake -DCMAKE_BUILD_TYPE=Debug'
|
|
|
|
abbr crelease 'cmake -DCMAKE_BUILD_TYPE=Release'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr dc docker-compose
|
|
|
|
abbr dcd 'docker-compose down'
|
|
|
|
abbr dcr 'docker-compose run --rm'
|
|
|
|
abbr dcu 'docker-compose up'
|
|
|
|
abbr dcub 'docker-compose up --build'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
|
|
|
abbr swipl 'clear && swipl -q && clear'
|
|
|
|
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr e 'emacsclient -c'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr enw 'emacsclient -c -nw'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
|
|
|
abbr vi vim
|
|
|
|
|
|
|
|
abbr tlmgr tllocalmgr
|
|
|
|
|
|
|
|
abbr texhash 'sudo texhash'
|
|
|
|
|
|
|
|
abbr cp 'cp -i'
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr ln 'ln -i'
|
|
|
|
abbr lns 'ln -si'
|
|
|
|
abbr mv 'mv -i'
|
|
|
|
abbr rm 'rm -I'
|
|
|
|
abbr rmd 'rm --preserve-root -Ir'
|
|
|
|
abbr rmdf 'rm --preserve-root -Irf'
|
|
|
|
abbr rmf 'rm --preserve-root -If'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
|
|
|
abbr chgrp 'chgrp --preserve-root'
|
|
|
|
abbr chmod 'chmod --preserve-root'
|
|
|
|
abbr chown 'chown --preserve-root'
|
|
|
|
|
|
|
|
abbr clean clear
|
|
|
|
|
|
|
|
abbr exi exit
|
|
|
|
abbr exti exit
|
|
|
|
|
|
|
|
abbr hotp htop
|
|
|
|
|
|
|
|
abbr please 'sudo -A'
|
|
|
|
|
|
|
|
abbr q exit
|
|
|
|
|
|
|
|
abbr hist history
|
|
|
|
|
2020-01-15 11:42:41 +00:00
|
|
|
abbr flac 'youtube-dl -x --audio-format flac --audio-quality 0 -o "~/Music/%(uploader)s/%(title)s.%(ext)s"'
|
|
|
|
|
|
|
|
abbr ytdl 'youtube-dl -f best -ciw -o "~/Videos/YouTube/%(uploader)s/%(upload_date)s - %(title)s.%(ext)s"'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
|
|
|
abbr mpv 'mpv --no-border --force-window=no'
|
|
|
|
|
|
|
|
abbr compress 'tar -czf'
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr untar 'tar -xvzf'
|
2019-10-21 08:08:14 +00:00
|
|
|
|
|
|
|
abbr feh 'feh -Zx.'
|
|
|
|
|
|
|
|
abbr nmcli 'nmcli -p -c auto'
|
|
|
|
|
2019-11-29 20:15:37 +00:00
|
|
|
abbr n 'nordvpn'
|
|
|
|
abbr nc 'nordvpn c'
|
|
|
|
abbr nd 'nordvpn d'
|
|
|
|
|
|
|
|
abbr ncf 'nordvpn c France'
|
|
|
|
abbr ncg 'nordvpn c Germany'
|
|
|
|
abbr ncj 'nordvpn c Japan'
|
|
|
|
abbr ncu 'nordvpn c United_States'
|
|
|
|
|
2019-10-20 23:23:53 +00:00
|
|
|
abbr wget 'wget -c'
|