Skip to content

Commit

Permalink
add some git aliases + .local_exports
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWolf-01 committed Nov 3, 2024
1 parent 5f65b15 commit d49b4e1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ cli() {

nvim

touch ~/.local_exports

### remove bloat
# screen reader
sudo apt-get remove -y orca
Expand Down
7 changes: 6 additions & 1 deletion zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ alias vim='nvim'
alias g='git'
alias gc='git commit'
alias gp='git push'
alias gs='git switch'
alias gsc='git switch -c'
alias gpl='git pull'
alias gst='git status'
alias gspp="git stash && git pull && git stash pop"
alias gcm='git commit -m'
alias gcmn='git commit --no-verify -m'
alias gspp='git stash && git pull && git stash pop'
alias gacp="git add . && git commit -m 'update' && git push"
alias ggraph='git log --graph --abbrev-commit --date=relative --pretty=format:"%C(auto)%h %s%n %C(yellow)by %C(blue)%an %C(magenta)<%ae> [%G?] %C(green)%ad%n %C(auto)%d%n"'
alias gdiff='git diff --color | sed "s/^\([^-+ ]*\)[-+ ]/\\1/" | less -r' # Remove `+` and `-` from start of diff lines; just rely upon color.
Expand Down
3 changes: 3 additions & 0 deletions zsh/exports
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ export PYTHONIOENCODING='UTF-8'
export FZF_COMPLETION_TRIGGER='**'

export HYDRA_FULL_ERROR=1

source ~/.local_exports

0 comments on commit d49b4e1

Please sign in to comment.