dotfiles/.config/fish/config.fish

53 lines
1.6 KiB
Fish

set -U -x EDITOR vim
set -U -x MPD_HOST 172.19.138.20
set -U fish_features stderr-nocaret qmark-noglob
set PATH $PATH /home/kunsi/.local/bin /home/kunsi/.gem/ruby/2.6.0/bin/ /home/kunsi/.bin
alias weechat='mosh rx300 -- tmux attach-session -d -t weechat-tmux'
alias voc-ansible='/home/kunsi/.bin/voc-ansible'
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 bwr='cd ~/git/bundlewrap/'
alias v='vim -p'
alias l='ls -lAh'
alias please='sudo'
alias youtube-dl='yt-dlp --compat-options youtube-dl'
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"'
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"'
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'
alias gp='git push'
alias gpu='git push -u origin HEAD'
alias gs='git status --short'
alias rm='rm --one-file-system'
set -x BW_ITEM_WORKERS 16
set -x BW_NODE_WORKERS 16
function fish_greeting
echo -n ""
end
function fish_command_not_found
__fish_default_command_not_found_handler $argv[1]
end
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