Last active
October 3, 2018 23:22
-
-
Save ordovician/5601508 to your computer and use it in GitHub Desktop.
[fish current directory] Set the prompt in the fish shell to a minimalistic "currentdir $ " Where currendir is the last directory in current working directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fish_prompt | |
echo -n '[' | |
set_color $fish_color_cwd | |
echo -n (basename $PWD) | |
set_color normal | |
echo -n '] $ ' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment