Skip to content

Instantly share code, notes, and snippets.

@nvictor
Created February 9, 2024 15:35
Show Gist options
  • Save nvictor/1e48678f675ba84ee0e4e914ed02e838 to your computer and use it in GitHub Desktop.
Save nvictor/1e48678f675ba84ee0e4e914ed02e838 to your computer and use it in GitHub Desktop.
new_line_prompt.sh
# Adding a new line in the command line prompt proved more difficult than needed
nl() {
printf "\n$ "
}
PROMPT='.... $(nl)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment