diff --git a/.zsh/misc.zsh b/.zsh/misc.zsh new file mode 100644 index 0000000..7e7b8b6 --- /dev/null +++ b/.zsh/misc.zsh @@ -0,0 +1,14 @@ +# ls colors + autoload -U colors && colors + +# # Enable ls colors + export LSCOLORS="Gxfxcxdxbxegedabagacad" + + # Take advantage of $LS_COLORS for completion as well. + zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" + + ### super user alias + alias _='sudo' + +# recognize comments + setopt interactivecomments diff --git a/.zshrc b/.zshrc index 89a2552..db6f23c 100644 --- a/.zshrc +++ b/.zshrc @@ -9,6 +9,7 @@ setopt path_dirs setopt prompt_subst setopt nonomatch setopt automenu +setopt prompt_subst #Load libraries for f in ~/.zsh/*.zsh; do