Skip to content

Instantly share code, notes, and snippets.

@BexTuychiev
Created November 23, 2022 03:37
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save BexTuychiev/65dc419af0efa723fc78e269a286ec52 to your computer and use it in GitHub Desktop.
Save BexTuychiev/65dc419af0efa723fc78e269a286ec52 to your computer and use it in GitHub Desktop.
PS1='\[\033]0;WSL2 Bash\W\007\]' # set window title
PS1="$PS1"'\n' # new line
PS1="$PS1"'\[\033[36m\]' # change to green
PS1="$PS1"'bash@bexgboost ' # user@host<space>
PS1="$PS1"'\[\033[31m\]' # change to brownish yellow
PS1="$PS1"'\W' # current working directory
source /usr/lib/git-core/git-sh-prompt
export PS1="${debian_chroot:+($debian_chroot)}\[\033[01;36m\]\u:\[\033[01;31m\]\w\[\033[33m\]\$(__git_ps1)\[\033[33m\]"
PS1="$PS1"'\[\033[0m\]' # change color
PS1="$PS1"'\n' # new line
PS1="$PS1"'$ ' # prompt: always $
alias g='git'
alias gst='git status'
alias gd='git diff'
alias gp='git push'
alias glo='git log --oneline'
alias ga='git add .'
alias gcam='git commit -a -m'
alias jl='jupyter lab --no-browser'
alias cls='clear'
alias gcb='git checkout -b'
alias gc='git checkout'
alias exp="explorer.exe ."
alias ghpi="ghp-import -n -p -f _build/html"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment