Adding timestamp to each line on Zsh

I’ve found it more non-destructive to actually prepend the time to the existing prompt without overriding it completely. This makes it work with any existing theme without interfering with its styling. Add this at the end of your .zshrc file. You can type the command nano ~/.zshrc to edit it using nano: PROMPT=’%{$fg[yellow]%}[%D{%f/%m/%y} %D{%L:%M:%S}] ‘$PROMPT … Read more

Zsh Docker Plugin not Working

You might want to try and remove any .zcompdump-(…) files you may have on your user’s home directory – using something like rm ~/.zcompdump* on a terminal, or some file browser – and then reload the .zschrc file with the command source ~/.zshrc or restart the terminal – whichever works best for you. See this … Read more

zsh theme for full path + display git changes

You can modify the second line of this file: ~/.oh-my-zsh/themes/robbyrussell.zsh-theme Which looks like this: PROMPT+=’ %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)’ # ^ replace c with ~ Then source theme again: source ~/.zshrc It will now show the path relative to your home directory (~). For example: # BEFORE ➜ sqlboiler git:(master) # AFTER ➜ ~/open-source/sqlboiler git:(master)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)