From 59ca7f8bca00a77569dba6e8b4a00e0f8465c07f Mon Sep 17 00:00:00 2001 From: Alex Schofield Date: Mon, 10 Feb 2025 23:11:04 +0000 Subject: move & update .zshrc --- .zshrc | 19 ------------------- zsh/.zshrc | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 19 deletions(-) delete mode 100644 .zshrc create mode 100644 zsh/.zshrc diff --git a/.zshrc b/.zshrc deleted file mode 100644 index 70a9688..0000000 --- a/.zshrc +++ /dev/null @@ -1,19 +0,0 @@ -eval "$(oh-my-posh init zsh --config ~/.omp_themes/tiwahu.omp.json)" -export PATH=$HOME/.local/bin:$PATH -source <(fzf --zsh) -eval $(thefuck --alias) - -# Antigen Stuff - -source $HOME/antigen.zsh - -# load plugins -antigen bundle git -antigen bundle node -antigen bundle npm -antigen bundle zsh-users/zsh-autosuggestions -antigen bundle zsh-users/zsh-syntax-highlighting -antigen bundle MichaelAquilina/zsh-you-should-use -antigen bundle fdellwing/zsh-bat - -antigen apply diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..9720ad5 --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,25 @@ +# ZSH Configuration +# Author: Alex Schofield + +# Git Alias +alias gs='git status' +alias ga='git add' +alias gc='git commit' +alias gcm='git commit -m' +alias gco='git checkout' +alias gb='git branch' +alias gpl='git pull' +alias gpu='git push' +alias gl='git log --oneline --graph --decorate' +alias glg="git log --graph --pretty=format:'%C(bold blue)%h%Creset - %C(white)%s%Creset %C(dim white)- %an, %ar%Creset' --abbrev-commit" + +# Other Alias +alias grep="grep --color=always" + +# History +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 +setopt append_history +setopt share_history +setopt extended_history -- cgit v1.2.3