summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/alias15
-rw-r--r--zsh/.zsh/plugins3
-rw-r--r--zsh/.zshrc2
3 files changed, 8 insertions, 12 deletions
diff --git a/zsh/.zsh/alias b/zsh/.zsh/alias
index 7d0dc7d..8477d7d 100644
--- a/zsh/.zsh/alias
+++ b/zsh/.zsh/alias
@@ -5,13 +5,9 @@ alias c='clear'
alias ca='printf "\ec"'
alias cdd='cd ~/dotfiles'
-# Shortcut to files
-alias notes='vim ~/dotfiles/.notes'
-
# Programs
alias a='vifm . .'
alias ff='FreeFem++'
-alias g='git'
alias m='cd ~/.mutt/attachments && mutt && cd -'
alias e='nvim'
alias n='nvim'
@@ -19,13 +15,14 @@ alias ns='nvim -S Session.vim'
alias v='vim'
alias vs="vim -S Session.vim"
-# Build
+# Git
+alias g='git'
+alias rd='cd $(git rev-parse --show-toplevel)'
+
+# GNU Make
+alias mi='make install'
alias mc='make clean'
alias mca='make clean-all'
-# Tmux
-alias son="tmux set -g status on"
-alias soff="tmux set -g status off"
-
# Unablias ag from ubuntu plugin
unalias ag
diff --git a/zsh/.zsh/plugins b/zsh/.zsh/plugins
index 3506d70..3cbc6fd 100644
--- a/zsh/.zsh/plugins
+++ b/zsh/.zsh/plugins
@@ -20,7 +20,6 @@ if ! zgen saved; then
zgen oh-my-zsh plugins/themes
# Appearance
- # zgen oh-my-zsh themes/eastwood
zgen load mafredri/zsh-async
zgen load sindresorhus/pure
@@ -49,4 +48,4 @@ fi
}
# Z
-export _Z_EXCLUDE_DIRS=("$HOME/sshfs", "$HOME/nfs")
+_Z_DADA=("$HOME/.local/share/z")
diff --git a/zsh/.zshrc b/zsh/.zshrc
index d809354..dc84770 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,4 +1,4 @@
-export PATH="${PATH}:$HOME/bin"
+export PATH="${PATH}:$HOME/bin:/usr/lib/surfraw"
export EDITOR=/usr/bin/nvim
# Source configuration files