From fc31c98becc1d3ef48d1f599520933608277495d Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 17 Dec 2020 11:27:27 -0600 Subject: [PATCH] Fix more nnn stuff, remove kitty visual bell --- apps/kitty/kitty.conf | 1 - apps/nnn/config.fish | 2 +- apps/shell/fish/aliases.fish | 8 ++++---- bin/d_mosquitto | 3 --- bin/d_rabbitmq | 2 -- 5 files changed, 5 insertions(+), 11 deletions(-) delete mode 100755 bin/d_mosquitto delete mode 100755 bin/d_rabbitmq diff --git a/apps/kitty/kitty.conf b/apps/kitty/kitty.conf index fa71b39..e204cf5 100644 --- a/apps/kitty/kitty.conf +++ b/apps/kitty/kitty.conf @@ -18,7 +18,6 @@ map shift+insert paste_from_clipboard map ctrl+shift+v paste_from_selection enable_audio_bell no -visual_bell_duration 1.0 url_style single diff --git a/apps/nnn/config.fish b/apps/nnn/config.fish index 9bfbf54..70aa433 100644 --- a/apps/nnn/config.fish +++ b/apps/nnn/config.fish @@ -1,4 +1,4 @@ -set -Ux NNN_OPTS EHacdrx +set -Ux NNN_OPTS EHacdx set -Ux NNN_COLORS 1234 set -Ux NNN_PLUG p:preview set -Ux NNN_FCOLORS 030304020005050805030501 diff --git a/apps/shell/fish/aliases.fish b/apps/shell/fish/aliases.fish index f0044df..ad5725a 100755 --- a/apps/shell/fish/aliases.fish +++ b/apps/shell/fish/aliases.fish @@ -10,6 +10,8 @@ alias lT 'lt -r' alias lc 'lt -t accessed' alias lC 'lc -r' +set -gx CDPATH $CDPATH . $NICE_HOME + function d -w cd --description "Quickly jump to NICE_HOME (or given relative or absolute path) and list files." if scount $argv cd $argv || exit 1 @@ -19,16 +21,13 @@ function d -w cd --description "Quickly jump to NICE_HOME (or given relative or la end -function c --description "Quickly jump to a subdirectory of NICE_HOME (or just to NICE_HOME if none given)" +function c -w cd --description "Quickly jump to a subdirectory of NICE_HOME (or just to NICE_HOME if none given)" if scount $argv cd $NICE_HOME && d $argv || exit 1 else d $NICE_HOME end end -complete --erase --command c -complete --command c -a \ - "(pushd $NICE_HOME && fd . . --max-depth 1 --min-depth 1 -x ls -p && popd)" alias cd.. "d .." alias cdd "d $DOTFILES_PATH" @@ -108,3 +107,4 @@ alias wifi "sudo iwctl" alias year 'cal (date +%Y)' alias mount 'sudo -E mount' alias pa pulsemixer +alias mail neomutt diff --git a/bin/d_mosquitto b/bin/d_mosquitto deleted file mode 100755 index 98edd85..0000000 --- a/bin/d_mosquitto +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh -docker run -it --rm -p 1883:1883 -p 9001:9001 eclipse-mosquitto - diff --git a/bin/d_rabbitmq b/bin/d_rabbitmq deleted file mode 100755 index f903916..0000000 --- a/bin/d_rabbitmq +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -docker run --rm -it -p 5672:5672 -p 15672:15672 rabbitmq:3-management