From 0a3b0245d51ce149c792e5a8dd2b995da848787b Mon Sep 17 00:00:00 2001 From: 135e2 <135e2@135e2.tk> Date: Fri, 1 Apr 2022 15:32:48 +0800 Subject: .zshrc: update to 20220401 - Use aliases from https://github.com/mathiasbynens/dotfiles/blob/main/.aliases - Update $PATH - Scaleway CLI autocomplete initialization --- .zshrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.zshrc b/.zshrc index 96c12e3..b69cb19 100644 --- a/.zshrc +++ b/.zshrc @@ -56,6 +56,15 @@ zinit wait="1" lucid for \ zinit ice lucid wait='0' atload='_zsh_autosuggest_start' zinit light zsh-users/zsh-autosuggestions +# Easier navigation: .., ..., ...., ....., ~ and - +# Copied from https://github.com/mathiasbynens/dotfiles/blob/main/.aliases +alias ..="cd .." +alias ...="cd ../.." +alias ....="cd ../../.." +alias .....="cd ../../../.." +alias ~="cd ~" # `cd` is probably faster to type though +alias -- -="cd -" + # Use exa instead DISABLE_LS_COLORS=true alias ls=exa @@ -74,3 +83,10 @@ export GPG_TTY=${_P9K_TTY} # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +# local PATH +export PATH="$PATH:${HOME}/.local/bin" +export PATH="$HOME/.poetry/bin:$PATH" + +# Scaleway CLI autocomplete initialization. +eval "$(scw autocomplete script shell=zsh)" -- cgit v1.2.3