Fix more nnn stuff, remove kitty visual bell

This commit is contained in:
Daniel Flanagan 2020-12-17 11:27:27 -06:00
parent 3ecb925039
commit fc31c98bec
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 5 additions and 11 deletions

View file

@ -18,7 +18,6 @@ map shift+insert paste_from_clipboard
map ctrl+shift+v paste_from_selection map ctrl+shift+v paste_from_selection
enable_audio_bell no enable_audio_bell no
visual_bell_duration 1.0
url_style single url_style single

View file

@ -1,4 +1,4 @@
set -Ux NNN_OPTS EHacdrx set -Ux NNN_OPTS EHacdx
set -Ux NNN_COLORS 1234 set -Ux NNN_COLORS 1234
set -Ux NNN_PLUG p:preview set -Ux NNN_PLUG p:preview
set -Ux NNN_FCOLORS 030304020005050805030501 set -Ux NNN_FCOLORS 030304020005050805030501

View file

@ -10,6 +10,8 @@ alias lT 'lt -r'
alias lc 'lt -t accessed' alias lc 'lt -t accessed'
alias lC 'lc -r' 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." function d -w cd --description "Quickly jump to NICE_HOME (or given relative or absolute path) and list files."
if scount $argv if scount $argv
cd $argv || exit 1 cd $argv || exit 1
@ -19,16 +21,13 @@ function d -w cd --description "Quickly jump to NICE_HOME (or given relative or
la la
end 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 if scount $argv
cd $NICE_HOME && d $argv || exit 1 cd $NICE_HOME && d $argv || exit 1
else else
d $NICE_HOME d $NICE_HOME
end end
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 cd.. "d .."
alias cdd "d $DOTFILES_PATH" alias cdd "d $DOTFILES_PATH"
@ -108,3 +107,4 @@ alias wifi "sudo iwctl"
alias year 'cal (date +%Y)' alias year 'cal (date +%Y)'
alias mount 'sudo -E mount' alias mount 'sudo -E mount'
alias pa pulsemixer alias pa pulsemixer
alias mail neomutt

View file

@ -1,3 +0,0 @@
#!/usr/bin/env sh
docker run -it --rm -p 1883:1883 -p 9001:9001 eclipse-mosquitto

View file

@ -1,2 +0,0 @@
#!/usr/bin/env sh
docker run --rm -it -p 5672:5672 -p 15672:15672 rabbitmq:3-management