Skip to content

Instantly share code, notes, and snippets.

@VincentBrunet
Last active November 26, 2016 00:16
Show Gist options
  • Save VincentBrunet/e5cba6f5023561c3032d8942797ce2db to your computer and use it in GitHub Desktop.
Save VincentBrunet/e5cba6f5023561c3032d8942797ce2db to your computer and use it in GitHub Desktop.
First Connection
echo "export LC_ALL='en_US.UTF-8'" >> ~/.bashrc
echo "export LANGUAGE='en_US.UTF-8'" >> ~/.bashrc
echo "alias cp='cp -iv'" >> ~/.bashrc
echo "alias mv='mv -iv'" >> ~/.bashrc
echo "alias mkdir='mkdir -pv'" >> ~/.bashrc
echo "alias less='less -FSRXc'" >> ~/.bashrc
echo "alias ls='ls -h --color=auto'" >> ~/.bashrc
echo "alias ll='ls -la'" >> ~/.bashrc
echo "alias clean='rm -fv .*# *# .*~ *~;'" >> ~/.bashrc
echo "alias net-ip='curl ipecho.net/plain'" >> ~/.bashrc
echo "alias net-socks='sudo lsof -i'" >> ~/.bashrc
echo "alias net-ports='sudo lsof -i -P'" >> ~/.bashrc
echo 'GREEN="\[$(tput setaf 2)\]"' >> ~/.bashrc
echo 'YELLOW="\[$(tput setaf 3)\]"' >> ~/.bashrc
echo 'BLUE="\[$(tput setaf 4)\]"' >> ~/.bashrc
echo 'PINK="\[$(tput setaf 5)\]"' >> ~/.bashrc
echo 'CYAN="\[$(tput setaf 6)\]"' >> ~/.bashrc
echo 'RESET="\[$(tput sgr0)\]"' >> ~/.bashrc
echo 'export PROMPT_COMMAND='"'"'echo -ne "\033]0;${PWD##*/}\007"'"'" >> ~/.bashrc
echo 'export PS1="\n${GREEN}\w${RESET} @ ${YELLOW}\h${RESET} (${CYAN}\u${RESET}) : ${PINK}\t${RESET}\n> "' >> ~/.bashrc
echo 'export PS2="> "' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment