Skip to content

Instantly share code, notes, and snippets.

Created June 12, 2023 10:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
System-wide shell profile for sh-based shells (e.g. sh, bash, zsh, tcsh)
# Colorize terminal for micro editor
export TERM
# Some generic alias
alias su="su -l"
alias"top -I -z -t -a -o cpu"
alias gh="history|grep"
# even more generic
alias h='fc -l'
alias j=jobs
alias m="$PAGER"
alias ll='ls -laFo'
alias l='ls -l'
alias g='egrep -i'
# alias cp='cp -ip'
# alias mv='mv -i'
# alias rm='rm -i'
# Set tabstop to 8 (similiar to micro)
# tabs -8
# set prompt: ``username@hostname:directory $ ''
PS1='[\u@\H \w]\$ '
export PS1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment