Started making changes to .zshrc like adding aliases

This commit is contained in:
Russell Riker 2023-04-02 14:03:20 -04:00
parent c4d9591dbe
commit 4aef5ae79a
1 changed files with 20 additions and 7 deletions

27
.zshrc
View File

@ -1,3 +1,12 @@
############################################################
# _____ __ _____ __
# /__ / _____/ /_ __________ / __(_) /__
# / / / ___/ __ \ / ___/ ___/ / /_/ / / _ \
# / /__(__ ) / / / / / / /__ / __/ / / __/
# /____/____/_/ /_/ /_/ \___/ /_/ /_/_/\___/
#
############################################################
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@ -26,10 +35,10 @@ ZSH_THEME="arrow"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
@ -82,11 +91,11 @@ source $ZSH/oh-my-zsh.sh
# 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='nvim'
else
export EDITOR='nvim'
fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
@ -99,3 +108,7 @@ source $ZSH/oh-my-zsh.sh
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias cat='batcat'
alias ls='lsd'
alias vi='nvim'
alias vim='nvim'