diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-05 18:07:46 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-05 18:07:46 +0800 |
| commit | 34352fb4cab237e9009a685fa8e1bd42fbc1a5b0 (patch) | |
| tree | af3195a68c9041e31b2b0aa499a353422acf819a | |
| parent | 4960c4772a0990e3b899715661032cb5c4c70127 (diff) | |
xdg-ninja fixes
| -rwxr-xr-x | aliases.zsh | 3 | ||||
| -rwxr-xr-x | options.zsh | 2 | ||||
| -rwxr-xr-x | plugins-customization.zsh | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/aliases.zsh b/aliases.zsh index 7bdac73..e974729 100755 --- a/aliases.zsh +++ b/aliases.zsh @@ -526,6 +526,9 @@ alias help='tldr' alias mt='memento-timeline' +# xdg-ninja suggested +alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion" + # server stuff getfs() { scp -P 2002 ssh.littleblack111.com:$@ .; } putfile() { scp -P 2002 $@ ssh.littleblack111.com:~ } diff --git a/options.zsh b/options.zsh index 06dff00..6870b5a 100755 --- a/options.zsh +++ b/options.zsh @@ -33,7 +33,7 @@ zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # History HISTSIZE=999999999 SAVEHIST=$HISTSIZE -HISTFILE=~/.zsh_history +HISTFILE="$XDG_STATE_HOME"/zsh/history HISTDUP=erase # Autosuggestion diff --git a/plugins-customization.zsh b/plugins-customization.zsh index 620e576..92d0b3f 100755 --- a/plugins-customization.zsh +++ b/plugins-customization.zsh @@ -112,6 +112,9 @@ eval $(thefuck --alias) # autojump #source $HOME/.autojump/etc/profile.d/autojump.sh +# +compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION" + autoload -U compinit && compinit -u # homebrew |
