forked from extern/nix-config
cb4278514d
Really, there is no reason to use zsh when fish exists, at least not for my use case. Maintaining one set of shell config files is easier than two, so I'm removing the zsh files. Some other changes in this commit include: - The addition of the current user and hostname to the fish prompt - The addition of some zsh functions I re-implemented in fish - The removal of the dircolors file (not needed with exa anyway) - The removal of some aliases I never used -
9 lines
315 B
Fish
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
|