Update .config/fish/conf.d/20-aliases.fish

This commit is contained in:
punkfairie 2024-04-21 14:22:08 -07:00
parent 995b03ffbe
commit 89ee6abbaf
No known key found for this signature in database
GPG key ID: 1B492EAEA989C054

View file

@ -3,7 +3,14 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Shell aliases.
abbr -a rl --position command "source $XDG_CONFIG_HOME/fish/config.fish"
function rl -d "Reload all configs"
source "$XDG_CONFIG_HOME/fish/config.fish"
for file in "$XDG_CONFIG_HOME/fish/conf.d/*.fish"
source $file
end
end
abbr -a c --position command clear
abbr -a e --position command "$EDITOR"
abbr -a v --position command "$EDITOR"