From 718e7ea6e19717c67060648b366dcbbc837535e3 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 23 May 2020 11:49:58 +0200 Subject: vim change mapping, sublime text config, some alias --- .zsh_aliases | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.zsh_aliases') diff --git a/.zsh_aliases b/.zsh_aliases index 2d2e87b..cfded2f 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -3,7 +3,6 @@ ############### # color -alias ls="ls --color" alias grep="grep --color=auto" alias tree="tree -C" alias pacman="pacman --color=auto" @@ -16,7 +15,8 @@ alias gdb="gdb -q" # disable long intro message alias sudo="sudo " # enable color (the search for aliases continues) # ls -alias ll="ls -lFh" +alias ls='ls --color -F' +alias ll="ls -lh" alias la="ls -a" alias lla="ls -alh" alias lss="ls -Ssh" @@ -66,8 +66,8 @@ alias gstp="git stash pop" alias lpassp="lpass show --password --clip" # put password in clipboard # helper to switch between dual and single monitor setup -alias dual='xrandr --output LVDS1 --primary --below VGA1 --output VGA1 --auto' -alias single='xrandr --output VGA1 --off' +alias dual='xrandr --output LVDS-1 --primary --below VGA-1 --output VGA-1 --auto' +alias single='xrandr --output VGA-1 --off' # edit config files alias zshrc="vim $DOTFILES/.zshrc && source $DOTFILES/.zshrc" @@ -90,3 +90,6 @@ getrfc() { # bluetooth alias bton='echo power on | bluetoothctl' alias btoff='echo power off | bluetoothctl' + +# pdf selector +alias openpdf='zathura `ls -1 *.pdf | dmenu` &' -- cgit