dotfiles/.config/fish/config.fish

57 lines
1.9 KiB
Fish
Raw Normal View History

2019-07-24 15:51:31 +00:00
set -U -x EDITOR vim
2020-02-01 17:54:44 +00:00
set -U -x MPD_HOST 172.19.138.20
2019-07-24 15:51:31 +00:00
set -U fish_features stderr-nocaret qmark-noglob
2021-04-17 10:06:15 +00:00
set PATH $PATH /home/kunsi/.local/bin /home/kunsi/.gem/ruby/2.6.0/bin/ /home/kunsi/.bin
2019-09-24 14:12:58 +00:00
2023-01-22 14:58:23 +00:00
set -U -x SSH_AUTH_SOCK $(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
2021-04-02 06:45:48 +00:00
2020-06-21 11:20:06 +00:00
alias bwr='cd ~/git/bundlewrap/'
2023-01-22 14:58:23 +00:00
alias cal='cal -v -m -3'
alias ipa='ip -brief --color=always addr show; echo; ip --color=always route show; ip -6 --color=always route show'
2020-06-21 11:20:06 +00:00
alias l='ls -lAh'
2023-01-22 14:58:23 +00:00
alias p='python'
alias rm='rm --one-file-system'
alias share-via-ssh='/home/kunsi/git/share-via-ssh/share-via-ssh'
alias tmp='cd (mktemp -d -p /home/kunsi --suffix=.(date +%F))'
alias v='vim -p'
alias voc-ansible='/home/kunsi/.bin/voc-ansible'
alias voc2gui='cd /home/kunsi/git/voctomix/ && .venv/bin/python voctogui/voctogui.py'
alias weechat='mosh rx300 -- tmux attach-session -d -t weechat-tmux'
2021-12-30 15:17:50 +00:00
alias youtube-dl='yt-dlp --compat-options youtube-dl'
2020-12-23 08:10:10 +00:00
alias lumos='mosquitto_pub -h 172.19.138.20 -t /switch/wohnzimmer/stehlampe/cmnd/POWER -m "ON"'
alias nox='mosquitto_pub -h 172.19.138.20 -t /switch/wohnzimmer/stehlampe/cmnd/POWER -m "OFF"'
2021-01-04 05:15:23 +00:00
alias coffee='mosquitto_pub -h 172.19.138.20 -t /switch/kueche/kaffeemaschine/cmnd/POWER -m "ON"'
alias nocoffee='mosquitto_pub -h 172.19.138.20 -t /switch/kueche/kaffeemaschine/cmnd/POWER -m "OFF"'
2020-12-23 08:10:10 +00:00
2021-07-30 06:40:44 +00:00
alias ga.='git add .'
alias ga='git add'
alias gc='git commit'
alias gd='git diff'
alias gdc='git diff --cached'
alias gm='git checkout main && git pull --all'
2021-09-18 15:43:06 +00:00
alias gp='git push'
alias gpu='git push -u origin HEAD'
2021-07-30 06:40:44 +00:00
alias gs='git status --short'
2021-01-04 05:15:23 +00:00
set -x BW_ITEM_WORKERS 16
set -x BW_NODE_WORKERS 16
2022-08-08 06:11:31 +00:00
set -x BW_KEEPASS_FILE /home/kunsi/git/passwords/voc.kdbx
2020-06-21 11:20:06 +00:00
function fish_greeting
2021-11-08 10:55:44 +00:00
echo -n ""
2021-04-02 06:45:48 +00:00
end
function fish_command_not_found
__fish_default_command_not_found_handler $argv[1]
2020-06-21 11:20:06 +00:00
end
2021-04-17 10:06:15 +00:00
function fish_title
echo (status current-command)
end
function config --wraps=/usr/bin/git
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $argv;
end