diff --git a/.zshrc b/.zshrc index f7fcc18..b96b4f3 100644 --- a/.zshrc +++ b/.zshrc @@ -45,7 +45,7 @@ ZSH_THEME="inkletblotsh" # DISABLE_AUTO_TITLE="true" # Uncomment the following line to enable command auto-correction. -# ENABLE_CORRECTION="true" + ENABLE_CORRECTION="true" # Uncomment the following line to display red dots whilst waiting for completion. # Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work) @@ -63,10 +63,10 @@ ZSH_THEME="inkletblotsh" # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # or set a custom format using the strftime function format specifications, # see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" + HIST_STAMPS="yyyy-mm-dd" # Would you like to use another custom folder than $ZSH/custom? -# ZSH_CUSTOM=/path/to/new-custom-folder + ZSH_CUSTOM=/home/solomon/.config/zsh # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ @@ -85,14 +85,14 @@ source $ZSH/oh-my-zsh.sh # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment -# export LANG=en_US.UTF-8 + export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='mvim' -# fi + if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='nano' + else + export EDITOR='micro' + fi # Compilation flags # export ARCHFLAGS="-arch x86_64" @@ -108,3 +108,4 @@ source $ZSH/oh-my-zsh.sh alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' alias logout='/usr/bin/kill -9 -1' +alias ipaddr='curl api.ipify.org'