1
0

add shell syntax highlighting

This commit is contained in:
2025-02-13 21:56:59 +01:00
parent fc30cfb5e8
commit 17596ccfe1
3 changed files with 9 additions and 2 deletions

View File

@@ -8,6 +8,9 @@ alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias d='dirs -v'
for index ({1..9}) alias "c$index"="cd +${index}"; unset index
# alias tf="aws-vault exec feedzai-main -d 8h -- terraform"
# alias tfi="aws-vault exec feedzai-main -d 8h -- terraform init"
# alias tfp="aws-vault exec feedzai-main -d 8h -- terraform plan -lock=false"

View File

@@ -12,8 +12,8 @@ setopt AUTO_PUSHD # Push the current directory visited on the stack.
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
alias d='dirs -v'
for index ({1..9}) alias "c$index"="cd +${index}"; unset index
# install zsh-syntax-highlighting
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word