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.
52 lines
1.6 KiB
52 lines
1.6 KiB
5 years ago
|
# .bashrc
|
||
|
|
||
|
# If not running interactively, don't do anything
|
||
|
[[ $- != *i* ]] && return
|
||
|
|
||
5 years ago
|
echo -e \\n \\e[10{0..7}m\ \ \\e[m \\n \\e[4{0..7}m\ \ \\e[m \\n
|
||
|
|
||
5 years ago
|
HISTCONTROL=ignoreboth
|
||
|
|
||
5 years ago
|
bind "set completion-ignore-case on"
|
||
|
bind "set show-all-if-ambiguous on"
|
||
|
bind "set mark-symlinked-directories on"
|
||
|
|
||
5 years ago
|
alias ls='ls --color=auto'
|
||
5 years ago
|
alias la='ls --color=auto -lAh'
|
||
|
alias gad='git add .'
|
||
|
alias gs='git status'
|
||
|
alias gp='git push'
|
||
5 years ago
|
alias gco='git commit'
|
||
4 years ago
|
alias gd='git diff'
|
||
5 years ago
|
alias rm='rm -i'
|
||
|
alias mv='mv -i'
|
||
5 years ago
|
alias ..='cd ..'
|
||
4 years ago
|
alias open='xdg-open'
|
||
4 years ago
|
alias buonanotte='sudo poweroff'
|
||
|
alias progetti='cd $HOME/Documents/projects'
|
||
4 years ago
|
alias windoze='sudo zzz -R'
|
||
|
alias bruh='make && sudo make install && make clean'
|
||
|
alias mdl='youtube-dl -x --audio-format opus --audio-quality 0 -o "%(title)s.%(ext)s"'
|
||
4 years ago
|
|
||
|
# 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
|
||
5 years ago
|
|
||
5 years ago
|
PS1='\[\033[33m\][\u] \[\033[1;34m\]\W $ \[\033[0;00m\]'
|
||
4 years ago
|
|
||
|
# Created by `userpath` on 2020-07-06 16:46:37
|
||
|
export PATH="$PATH:/home/ale/.local/bin"
|