aboutsummaryrefslogtreecommitdiffstats
path: root/roles/setup_utils/files/zshrc
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-09-10 11:43:18 +0200
committerbinary <me@rgoncalves.se>2020-09-10 11:43:18 +0200
commit7fde0d14bc0f8a697deb5c74639c8b648b9b45f9 (patch)
tree127201fcc3127ffc13706b9965c84ff4ada3e4c4 /roles/setup_utils/files/zshrc
parent8fdc815a24de61a897425a68ece320ef43d64c77 (diff)
downloadinfrastructure-7fde0d14bc0f8a697deb5c74639c8b648b9b45f9.tar.gz
Add alias and comments
Colors for ls have been added,
Diffstat (limited to 'roles/setup_utils/files/zshrc')
-rw-r--r--roles/setup_utils/files/zshrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/setup_utils/files/zshrc b/roles/setup_utils/files/zshrc
index 21260a3..fdb505c 100644
--- a/roles/setup_utils/files/zshrc
+++ b/roles/setup_utils/files/zshrc
@@ -1,8 +1,13 @@
+# /etc/zshrc configuration ~~ rgoncalves.se infrastructure
+
+# export environment variables
export TERM=xterm-256color
export LANG=en_US.UTF-8
+# zsh options
CASE_SENSITIVE="false"
+# autocomplete
autoload -U history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
@@ -18,4 +23,9 @@ zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower
autoload -Uz compinit
compinit -u
+# aliases
+alias ls="ls --color"
+alias cdd="cd .."
+
+# prompt
PROMPT="%B %n@%m %~ %# %b"
remember that computers suck.