Function | Shortcut |
---|---|
Open command in $EDITOR | Ctrl +x Ctrl +e |
Function | Shortcut |
---|
# | |
# Requires a nerdfont compatible font to display properly | |
# | |
# https://github.com/ryanoasis/nerd-fonts | |
# | |
# | |
function last_two_dir { | |
# if we're at ~/ just display ~ | |
if [ $PWD = $HOME ]; then | |
echo '%c' |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/