Skip to content

Instantly share code, notes, and snippets.

@punkdata
Created April 29, 2017 15:00
Show Gist options
  • Save punkdata/552db98535366e75ecd1e4d3eda6da97 to your computer and use it in GitHub Desktop.
Save punkdata/552db98535366e75ecd1e4d3eda6da97 to your computer and use it in GitHub Desktop.
debian/ubuntu bash shorten the prompt to the current working directory put this in .bashrc file
export PS1='$(whoami):${PWD/*\//}# '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment