Skip to content

Instantly share code, notes, and snippets.

@jerviscui
Created November 3, 2021 09:14
Show Gist options
  • Select an option

  • Save jerviscui/25e9fdab74996c3b53f1d6c233ac8e79 to your computer and use it in GitHub Desktop.

Select an option

Save jerviscui/25e9fdab74996c3b53f1d6c233ac8e79 to your computer and use it in GitHub Desktop.
Linux .bashrc in folder ~/
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
source <(kubectl completion bash)
# custom
alias ls='ls --color=auto'
PS1="${debian_chroot:+($debian_chroot)}[\[\e[32;1m\]\u\[\e[0m\]@\h \[\e[34;1m\]\w\[\e[0m\]]\\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment