summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-04 19:13:49 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-10-04 19:13:49 +0100
commit3a3321af173a73b158c606f0e2c3c3e0dece2cb9 (patch)
tree00075dc12714c8b128e2327542526ac0676820fc /zsh
parentac7ba6d8aa7eb6ef384f10b7798bd01308beb970 (diff)
parent2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 (diff)
Merge branch 'master' of https://github.com/urbainvaes/dotfiles
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv4
-rw-r--r--zsh/.zshrc5
2 files changed, 5 insertions, 4 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index ae9fd6b..cb36a13 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -19,5 +19,5 @@ fi
[[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc"
# Source guix profile
-guix_profile=$HOME/.guix-env
-[[ -f $guix_profile ]] && . $guix_profile
+# guix_profile=$HOME/.guix-env
+# [[ -f $guix_profile ]] && . $guix_profile
diff --git a/zsh/.zshrc b/zsh/.zshrc
index cc2e1ad..1cc4d4b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -43,6 +43,7 @@ setopt inc_append_history
setopt no_share_history
# Completion
+autoload -Uz compinit && compinit
zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*'
# Kill word
@@ -65,8 +66,8 @@ fi
source "$HOME/.zsh/zgen/zgen.zsh"
FZF_MARKS_PLUGIN_ZSH=$HOME/dotfiles/plugins/fzf-marks/fzf-marks.plugin.zsh
-FZF_MARKS_COMMAND='fzf --height 40% --reverse -e'
[ -f "$FZF_MARKS_PLUGIN_ZSH" ] && source "$FZF_MARKS_PLUGIN_ZSH"
+FZF_MARKS_COMMAND="$FZF_MARKS_COMMAND -e -n 1 -d ' : '"
if ! zgen saved; then
echo "Creating a zgen save"
@@ -172,9 +173,9 @@ alias mca='make clean-all'
# Misc
alias a='vifm . .'
-alias ff='FreeFem++'
alias m='cd ~/.mutt/attachments && mutt && cd -'
alias e='nvim'
+alias f='fzm'
alias mux='tmuxinator'
alias email='mbsync -a'
alias renet='systemctl restart NetworkManager.service'