diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-06-19 09:27:27 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-06-19 09:27:27 +0100 |
| commit | 01b48b3cd44cd08612c6b033b50feae2c96ff6e8 (patch) | |
| tree | f4331e09c669209b56b7448f930dd7d6286334c8 | |
| parent | b77fe30d8784ee494ef69de887fd224bcc6d441b (diff) | |
zsh: Move the ‘vault’ function to dotfiles-darwin
| -rw-r--r-- | dotfiles-darwin/zsh/functions/_vault (renamed from zsh/functions/_vault) | 0 | ||||
| -rw-r--r-- | dotfiles-darwin/zsh/functions/vault (renamed from zsh/functions/vault) | 0 | ||||
| -rw-r--r-- | dotfiles-darwin/zsh/rc | 2 | ||||
| -rw-r--r-- | zsh/rc | 2 |
4 files changed, 3 insertions, 1 deletions
diff --git a/zsh/functions/_vault b/dotfiles-darwin/zsh/functions/_vault index 5cab4e5..5cab4e5 100644 --- a/zsh/functions/_vault +++ b/dotfiles-darwin/zsh/functions/_vault diff --git a/zsh/functions/vault b/dotfiles-darwin/zsh/functions/vault index 8196772..8196772 100644 --- a/zsh/functions/vault +++ b/dotfiles-darwin/zsh/functions/vault diff --git a/dotfiles-darwin/zsh/rc b/dotfiles-darwin/zsh/rc index 0971457..b36f8ae 100644 --- a/dotfiles-darwin/zsh/rc +++ b/dotfiles-darwin/zsh/rc @@ -1,5 +1,7 @@ # -*- mode: shell-script -*- +autoload -Uz vault + alias df='df -Ph' alias ls='ls -G' alias lsh='du -a | sort -h' @@ -10,7 +10,7 @@ done } -autoload -Uz compinit op-ssh-add vault zmv +autoload -Uz compinit op-ssh-add zmv [[ ! -d ${XDG_CACHE_HOME}/zsh ]] && mkdir -p ${XDG_CACHE_HOME}/zsh zstyle ':completion:*' cache-path ${XDG_CACHE_HOME}/zsh/cache |
