1
0
forked from extern/nix-config
donovanglover-nix-config/.config/fish/functions/gh.fish
Donovan Glover 4e65100b5e
Update fish config
Setting XDG_CURRENT_DESKTOP and QT_FONT_DPI lets us run KDE applications
in bspwm with near-identical settings without starting plasmashell.
2018-10-03 15:34:11 -04:00

9 lines
315 B
Fish

# Easily cd into the "home" directory of any repository you're
# working in. Note that this is a function instead of an alias
# since `external calls` in aliases are not supported by zsh.
# The current aliases file works with fish and other shells like
# zsh.
function gh
cd (git rev-parse --show-toplevel)
end