Created
June 12, 2023 10:14
-
-
Save TGion/9df3b49e5ffa66ea2a7a843c0b887d31 to your computer and use it in GitHub Desktop.
System-wide shell profile for sh-based shells (e.g. sh, bash, zsh, tcsh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Colorize terminal for micro editor | |
TERM=xterm-256color | |
export TERM | |
# Some generic alias | |
alias su="su -l" | |
alias show.top="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