aboutsummaryrefslogtreecommitdiff
path: root/.zsh_aliases
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_aliases')
-rw-r--r--.zsh_aliases11
1 files changed, 7 insertions, 4 deletions
diff --git a/.zsh_aliases b/.zsh_aliases
index 87ae2e9..4c4724f 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"
@@ -17,7 +16,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"
@@ -67,8 +67,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"
@@ -95,3 +95,6 @@ getrfc() {
# bluetooth
alias bton='echo power on | bluetoothctl'
alias btoff='echo power off | bluetoothctl'
+
+# pdf selector
+alias openpdf='zathura `ls -1 *.pdf | dmenu` &'