kunsis-dotfiles/.config/fish/config.fish

50 lines
1.5 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
2021-07-30 06:40:22 +00:00
alias weechat='mosh rx300 -- tmux attach-session -d -t weechat-tmux'
2019-12-25 13:04:30 +00:00
alias voc-ansible='/home/kunsi/.bin/voc-ansible'
alias share-via-ssh='/home/kunsi/git/share-via-ssh/share-via-ssh'
2020-02-01 17:54:44 +00:00
2021-04-02 06:45:48 +00:00
alias tmp='cd (mktemp -d -p /home/kunsi)'
2020-06-21 11:20:06 +00:00
alias bwr='cd ~/git/bundlewrap/'
2020-02-01 17:54:44 +00:00
alias v='vim -p'
2020-06-21 11:20:06 +00:00
alias l='ls -lAh'
2021-01-04 05:15:23 +00:00
alias please='sudo'
2020-06-21 11:20:06 +00:00
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
2020-06-21 11:20:06 +00:00
function fish_greeting
2021-04-02 06:45:48 +00:00
fortune
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