diff --git a/aliases.sh b/aliases.sh index b29a120..0b1685f 100644 --- a/aliases.sh +++ b/aliases.sh @@ -9,15 +9,9 @@ alias sudo='sudo ' alias gitknow='cd ~/knowledge-base&& git add . && git status && git commit -m update && git push' alias e='nvim -S Session.vim' -alias pcm='pcmanfm . &' -alias lsoff='sudo lsof +f -- ' +alias ls='ls --color=auto -h --group-directories-first --time-style=+"%d.%m.%Y %H:%M" -F' -alias la='ls -lha --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' -alias ll='ls -lh --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' -alias ls='ls --color=auto -h --group-directories-first' - -alias bulk-rename='vimv' alias cp='cp -i' alias egrep='egrep --colour=auto' @@ -25,28 +19,17 @@ alias fgrep='fgrep --colour=auto' alias hgrep='history | grep --color=auto' alias grep='grep --colour=auto' -alias grepef='grep --exclude-from .ignorefiles' alias bc='bc -q -l' -alias thumbs='feh -t -y128 -E128' - -alias mpv480="mpv --ytdl-raw-options=format='best[height<='480']'" -alias mpv720="mpv --ytdl-raw-options=format='best[height<='720']'" -alias mpv1080="mpv --ytdl-raw-options=format='best[height<='1080']'" - alias ytdl='youtube-dl --write-info-json --write-description --no-playlist' alias ytdlb='youtube-dl --write-info-json --write-description --no-playlist -a' alias ytdl-mp3='youtube-dl -f bestaudio --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata' -alias wttr='curl wttr.in' - alias pve='ssh pve.home' alias b1='ssh b1.isnet.uk' alias kvm='ssh kvm.isnet.uk' -alias dokku='ssh -t dokku@dokku.isnet.uk' - alias pacman='~/.src/archnews/archnews_wrap' # lf gets confused by TERMINFO env var when running in tmux @@ -82,15 +65,6 @@ mc() { mkdir "$1" && cd "$1" } -# TODO testing -png-jpg() { - convert "$1" "${1%.*}".jpg -} - -ch() { - curl "cheat.sh/$@" -} - newsh() { set -e