You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
# .bashrc
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
echo -e \\n \\e[10{0..7}m\ \ \\e[m \\n \\e[4{0..7}m\ \ \\e[m \\n
|
|
|
|
HISTCONTROL=ignoreboth
|
|
|
|
bind "set completion-ignore-case on"
|
|
bind "set show-all-if-ambiguous on"
|
|
bind "set mark-symlinked-directories on"
|
|
|
|
alias ls='ls --color=auto'
|
|
alias la='ls --color=auto -lAh'
|
|
alias gad='git add .'
|
|
alias gs='git status'
|
|
alias gp='git push'
|
|
alias gco='git commit'
|
|
alias gd='git diff'
|
|
alias rm='rm -i'
|
|
alias mv='mv -i'
|
|
alias ..='cd ..'
|
|
alias open='xdg-open'
|
|
|
|
# Colored man pages with less(1)
|
|
export LESS="--RAW-CONTROL-CHARS"
|
|
export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
|
|
export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan
|
|
export LESS_TERMCAP_me=$(tput sgr0)
|
|
export LESS_TERMCAP_so=$(tput bold; tput setaf 3; tput setab 4) # yellow on blue
|
|
export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
|
|
export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7) # white
|
|
export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
|
|
export LESS_TERMCAP_mr=$(tput rev)
|
|
export LESS_TERMCAP_mh=$(tput dim)
|
|
export LESS_TERMCAP_ZN=$(tput ssubm)
|
|
export LESS_TERMCAP_ZV=$(tput rsubm)
|
|
export LESS_TERMCAP_ZO=$(tput ssupm)
|
|
export LESS_TERMCAP_ZW=$(tput rsupm)
|
|
export GROFF_NO_SGR=1 # For Konsole and Gnome-terminal
|
|
|
|
PS1='\[\033[33m\][\u] \[\033[1;34m\]\W $ \[\033[0;00m\]'
|
|
|
|
# Created by `userpath` on 2020-07-06 16:46:37
|
|
export PATH="$PATH:/home/ale/.local/bin"
|
|
|