Skip to content

Instantly share code, notes, and snippets.

View jstavanja's full-sized avatar
🆗
👌

Jaka Stavanja jstavanja

🆗
👌
View GitHub Profile
@jstavanja
jstavanja / jakas-prompt.zsh-theme
Last active November 16, 2022 13:13
💄 Jaka's prompt zsh theme (with abbreviated folder names in the prompt)
# The original theme this theme is extended from
# is the gallifrey.zsh-theme from oh-my-zsh.
# To use this theme, make a new file called jakas-prompt.zsh-theme
# in the directory ~/.oh-my-zsh/themes, and change the THEME variabl
# in your ~/.zshrc to jakas-prompt.
return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
function dirprompt {