1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-27 21:19:51 -05:00
dotfiles/lain/.config/fish/config.fish

33 lines
570 B
Fish
Raw Normal View History

2018-11-30 21:28:10 -05:00
### Environment Variables ###
2018-11-30 22:00:45 -05:00
set -U fish_greeting
2018-11-30 21:28:10 -05:00
set -U fish_user_paths ~/.local/bin
2019-09-07 11:09:26 -04:00
set -U FZF_LEGACY_KEYBINDINGS 0
2018-12-08 16:23:30 -05:00
2018-12-25 01:14:55 -05:00
# Mark fish as default shell
set -gx SHELL /usr/bin/fish
2018-11-30 21:28:10 -05:00
# TTY for gpg pinentry
set -gx GPG_TTY (tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
2018-12-08 16:23:30 -05:00
2018-12-01 14:35:58 -05:00
# Load wal colors if installed
if test -d ~/.cache/wal
cat ~/.cache/wal/sequences &
end
2018-12-08 16:23:30 -05:00
# Load keymap
xkbcomp ~/.config/xkb/map.xkm $DISPLAY
2018-12-08 16:23:30 -05:00
### Aliases ###
function ls
exa $argv
end
2018-12-25 01:14:55 -05:00
function ssh
env TERM=xterm-256color ssh $argv
end
2019-03-18 21:02:01 -04:00
function emacs
emacsclient -nc $argv
end