Skip to content

Instantly share code, notes, and snippets.

@dalguji
Last active June 19, 2023 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalguji/a86229057c9521e56f5f9586390f15c7 to your computer and use it in GitHub Desktop.
Save dalguji/a86229057c9521e56f5f9586390f15c7 to your computer and use it in GitHub Desktop.
export PS1="[\u@\[\e[37;1m\]\h \[\e[0m\]\W]\$ "
export TERM="xterm-256color"
export VISUAL=/usr/bin/vim
export EDITOR=/usr/bin/vim
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export TZ="Asia/Seoul"
export PATH=$PATH:$HOME/bin
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
export HISTFILESIZE=10000000
export HISTSIZE=1000000
alias ls="ls -CF --color"
alias ll='ls -al'
alias la="ls -ahl"
alias l="ls -al"
alias cp='cp -i'
alias rm='rm -i'
alias mv='mv -i'
alias grep='grep --color -in'
#alias rg='grep --color -inr --exclude={*min.js,}' # Somehow --exclude=*{min.js,} does not work.
alias rg='grep --color -inr --include=*.{php,} --exclude={*min.js,}'
alias jj='jobs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment