diff options
Diffstat (limited to '')
| -rw-r--r-- | .bashrc | 35 | 
1 files changed, 22 insertions, 13 deletions
| @@ -78,7 +78,7 @@ HISTFILESIZE=  HISTCONTROL=ignoreboth  # ignore a few very common commands and don't add them to history  #HISTIGNORE='ls:l:ll:s:g:[bf]g:history:da:li' -HISTIGNORE='sr' +HISTIGNORE='sc:sr*'  HISTTIMEFORMAT='%F %T '  stty stop "" @@ -118,31 +118,40 @@ if [ -f ~/.bash_aliases ]; then      . ~/.bash_aliases  fi +# listing  alias ls='ls --color=auto' -alias l='ls -Flh'               # long format and human-readable sizes -alias ll='l -a'                 # long format, all files +alias l='ls -Fl'                # long format +alias ll='l -a'                 # all files +alias llh='ll -h'               # human-readable sizes  alias dir='dir --color=auto'  alias vdir='vdir --color=auto' +# cp/mv confirmation and verbosity +alias cp="cp -iv" +alias mv="mv -iv" +# grep  alias grep='grep --color=auto'  alias egrep='grep -E --color=auto'  alias fgrep='grep -F --color=auto' -# alias mpv="mpv --ytdl-format=mp4" -alias mv="mv -iv" -alias cp="cp -iv" +# mpv +alias mpv="mpv --ytdl-format=mp4" +alias mpva="mpv --ytdl-format=bestaudio" +# mail  alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc'  alias getmail='getmail --getmaildir "$XDG_CONFIG_HOME"/getmail --rcfile getmailrc'  alias m="mbsync csclub; mbsync kelar; mbsync shemshak; mbsync gnub; getmail"  alias mc="mbsync canonical; m" -# alias e="$EDITOR" -alias se="SUDO_EDITOR=\"emacsclient\" sudo -e" - -alias alert='notify-send --urgency=low \ --i "$([ $? = 0 ] && echo terminal || echo error)" \ -"$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' - +# theme  alias da='change-theme dark'  alias li='change-theme light' +# sway  alias sr='sway-run' +alias srr='sway-run-remote' +alias srw='export WAYLAND_DISPLAY=wayland-1; wayvnc' +# misc +alias sc='screen' +alias alert='notify-send --urgency=low \ +-i "$([ $? = 0 ] && echo terminal || echo error)" \ +"$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'  bash_completions_dir=/usr/share/bash-completion/completions/ | 
