|
1 | 1 | # If you come from bash you might have to change your $PATH. |
2 | | -export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$HOME/bin:/usr/local/bin:$PATH" |
| 2 | +# - python packages path $(python3 -m site --user-base)/bin |
| 3 | +export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH" |
3 | 4 |
|
4 | 5 | # Path to your oh-my-zsh installation. |
5 | 6 | export ZSH="/home/unixuser/.oh-my-zsh" |
@@ -98,28 +99,27 @@ source $ZSH/oh-my-zsh.sh |
98 | 99 | # alias zshconfig="mate ~/.zshrc" |
99 | 100 | # alias ohmyzsh="mate ~/.oh-my-zsh" |
100 | 101 |
|
101 | | - # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. |
| 102 | +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. |
102 | 103 | [[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh |
103 | 104 |
|
104 | | - |
105 | 105 | # Connect to Windows Docker Engine - only for WSL1 or WSL2 without integration of docker desktop. |
106 | 106 | # export DOCKER_HOST=tcp://127.0.0.1:2375 |
107 | 107 |
|
108 | 108 | # always preserve environment variables when using sudo (this allows variables like DOCKER_HOST to exist in time of sudo usage). |
109 | 109 | # To run the original command without removing the alias from memory use `command sudo` e.g. `command sudo --help` |
110 | 110 | # NOTE: zsh autocorrection plugin aliases sudo to `sudo='nocorrect sudo'` https://unix.stackexchange.com/questions/260563/sudo-nocorrect-command-not-found |
111 | | - # Therefore to override sudo and prevent aurocompletion from alises it's own alias, replace it with: |
| 111 | +# Therefore to override sudo and prevent aurocompletion from alises it's own alias, replace it with: |
112 | 112 | alias sudo='nocorrect sudo --preserve-env' |
113 | 113 |
|
114 | | -# ".zsh_history" options: |
115 | | -setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format. |
116 | | -setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history. |
117 | | -setopt HIST_IGNORE_DUPS # Don't record an entry that was just recorded again. |
118 | | -setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate. |
119 | | -setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space. |
120 | | -setopt HIST_FIND_NO_DUPS # Do not display a line previously found. |
121 | | -setopt HIST_SAVE_NO_DUPS # Don't write duplicate entries in the history file. |
122 | | -setopt HIST_BEEP # Beep when accessing nonexistent history. |
| 114 | +# ".zsh_history" options: |
| 115 | +setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format. |
| 116 | +setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history. |
| 117 | +setopt HIST_IGNORE_DUPS # Don't record an entry that was just recorded again. |
| 118 | +setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate. |
| 119 | +setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space. |
| 120 | +setopt HIST_FIND_NO_DUPS # Do not display a line previously found. |
| 121 | +setopt HIST_SAVE_NO_DUPS # Don't write duplicate entries in the history file. |
| 122 | +setopt HIST_BEEP # Beep when accessing nonexistent history. |
123 | 123 |
|
124 | 124 | # https://unix.stackexchange.com/questions/273861/unlimited-history-in-zsh |
125 | 125 | # setopt BANG_HIST # Treat the '!' character specially during expansion. |
|
0 commit comments