aboutsummaryrefslogtreecommitdiff
path: root/.zsh_aliases
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-23 11:49:58 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-23 11:49:58 +0200
commit718e7ea6e19717c67060648b366dcbbc837535e3 (patch)
tree22201337528eeb2180834644db06241bd0f1921d /.zsh_aliases
parente9530ee0b4e9706fb0fcb82fa3cb87d57a5b540d (diff)
downloaddotfiles-718e7ea6e19717c67060648b366dcbbc837535e3.tar.gz
dotfiles-718e7ea6e19717c67060648b366dcbbc837535e3.tar.bz2
dotfiles-718e7ea6e19717c67060648b366dcbbc837535e3.zip
vim change mapping, sublime text config, some alias
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 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` &'