From ac65289d4964d689ec493dd5c99a43a63cd9afe5 Mon Sep 17 00:00:00 2001 From: Phantop Date: Wed, 3 Apr 2019 23:17:38 -0400 Subject: [PATCH] Fish: replace autojump with z --- .config/fish/config.fish | 7 +++---- .config/fish/fish_variables | 5 +++++ .config/fish/fishfile | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 8cc19cb..9421ca3 100755 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -12,14 +12,13 @@ set -gx EDITOR nvim set -gx PAGER "nvim -c 'set ft=man' -" # AUTOJUMP # -source /usr/share/autojump/autojump.fish +alias j=z # LOAD XRESOURCES # xrdb ~/.Xresources # MULTIMC INSTANCES # for i in $D/Games/Minecraft/Game/instances/* - function (basename $i) -V i - minecraft -l (basename $i) - end + set i (basename $i) + alias $i="minecraft -l $i" end diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 3e471db..a334b43 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -1,6 +1,11 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 SETUVAR --export D:/mnt/LocalDiskD +SETUVAR ZO_CMD:zo +SETUVAR Z_CMD:z +SETUVAR Z_DATA:/home/glados/\x2elocal/share/z/data +SETUVAR Z_DATA_DIR:/home/glados/\x2elocal/share/z +SETUVAR Z_EXCLUDE:/home/glados SETUVAR __fish_init_2_39_8:\x1d SETUVAR __fish_init_2_3_0:\x1d SETUVAR __fish_init_3_x:\x1d diff --git a/.config/fish/fishfile b/.config/fish/fishfile index 064e958..b8d3b35 100644 --- a/.config/fish/fishfile +++ b/.config/fish/fishfile @@ -1 +1,2 @@ rafaelrinaldi/pure +jethrokuan/z