Created
May 13, 2022 22:26
-
-
Save moelzanaty3/18eb84ff50cf05e58284a2d45d95caff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export NVM_DIR=~/.nvm | |
source '$(brew --prefix nvm)'/nvm.sh | |
# ---------------------- | |
# Git Aliases | |
# ---------------------- | |
alias ga='git add' | |
alias gaa='git add .' | |
alias gaaa='git add --all' | |
alias gau='git add --update' | |
alias gb='git branch' | |
alias gbd='git branch --delete ' | |
alias gc='git commit' | |
alias gcm='git commit --message' | |
alias gcf='git commit --fixup' | |
alias gco='git checkout' | |
alias gcob='git checkout -b' | |
alias gcom='git checkout master' | |
alias gcos='git checkout staging' | |
alias gcod='git checkout develop' | |
alias gd='git diff' | |
alias gda='git diff HEAD' | |
alias gi='git init' | |
alias glg='git log --graph --oneline --decorate --all' | |
alias gld='git log --pretty=format:"%h %ad %s" --date=short --all' | |
alias gm='git merge --no-ff' | |
alias gma='git merge --abort' | |
alias gmc='git merge --continue' | |
alias gp='git pull' | |
alias gpr='git pull --rebase' | |
alias gr='git rebase' | |
alias gs='git status' | |
alias gss='git status --short' | |
alias gst='git stash' | |
alias gsta='git stash apply' | |
alias gstd='git stash drop' | |
alias gstl='git stash list' | |
alias gstp='git stash pop' | |
alias gsts='git stash save' | |
# Fish Theme Config | |
#--------------- | |
set -g theme_display_git no | |
set -g theme_display_git_dirty no | |
set -g theme_display_git_untracked no | |
set -g theme_display_git_ahead_verbose yes | |
set -g theme_display_git_dirty_verbose yes | |
set -g theme_display_git_stashed_verbose yes | |
set -g theme_display_git_default_branch yes | |
set -g theme_git_default_branches master main | |
set -g theme_git_worktree_support yes | |
set -g theme_use_abbreviated_branch_name yes | |
set -g theme_display_vagrant yes | |
set -g theme_display_docker_machine no | |
set -g theme_display_k8s_context yes | |
set -g theme_display_hg yes | |
set -g theme_display_virtualenv no | |
set -g theme_display_nix no | |
set -g theme_display_ruby no | |
set -g theme_display_node yes | |
set -g theme_display_user ssh | |
set -g theme_display_hostname ssh | |
set -g theme_display_vi no | |
set -g theme_display_date no | |
set -g theme_display_cmd_duration yes | |
set -g theme_title_display_process yes | |
set -g theme_title_display_path no | |
set -g theme_title_display_user yes | |
set -g theme_title_use_abbreviated_path no | |
set -g theme_date_format "+%a %H:%M" | |
set -g theme_date_timezone America/Los_Angeles | |
set -g theme_avoid_ambiguous_glyphs yes | |
set -g theme_powerline_fonts no | |
set -g theme_nerd_fonts yes | |
set -g theme_show_exit_status yes | |
set -g theme_display_jobs_verbose yes | |
set -g default_user your_normal_user | |
set -g theme_color_scheme dark | |
set -g fish_prompt_pwd_dir_length 0 | |
set -g theme_project_dir_length 1 | |
set -g theme_newline_cursor yes | |
set -g theme_newline_prompt '$' | |
starship init fish | source |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment