Skip to content

Instantly share code, notes, and snippets.

@jiacai2050
Last active February 18, 2026 11:21
Show Gist options
  • Select an option

  • Save jiacai2050/d65a6687d63a9a92d5394e18e59f466d to your computer and use it in GitHub Desktop.

Select an option

Save jiacai2050/d65a6687d63a9a92d5394e18e59f466d to your computer and use it in GitHub Desktop.
bashrc for ubuntu
export PATH=$PATH:~/bin:~/.asdf/shims
export PS1="\n[\u@\H] \t \w \n\${all_proxy}\$(__git_ps1)$ "
alias ls='ls -FG'
alias ll='ls -lh'
alias lla='ls -lah'
alias cd.='cd ..'
alias cd..='cd ../..'
alias cd...='cd ../../..'
alias cd....='cd ../../../..'
alias gc='git clone '
alias gm='git submodule update --init'
alias gf='git diff --color | diff-so-fancy'
# alias e='emacsclient -t -a ""'
alias tailf='tail -F '
alias tf='tail -F '
alias t='tail '
alias fd='fd --hidden --exclude .git '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment