dotfiles/.config/fish/config.fish

46 lines
1.4 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-02-19 09:24:30 +00:00
alias weechat='mosh htz.ex42-1048908 -- 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'
alias gm='git checkout main && git pull --all'
2020-08-23 14:33:16 +00:00
alias gs='git status --short'
2020-10-23 19:42:34 +00:00
alias gd='git diff'
alias gdc='git diff --cached'
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
alias rx300='ipmitool -H 172.19.138.25 -U admin -P admin'
2020-06-21 11:20:06 +00:00
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