summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
author--global <ik.boikov.public@protonmail.com>2021-02-06 13:04:22 +0100
committer--global <ik.boikov.public@protonmail.com>2021-02-06 13:04:22 +0100
commit9a4542606b0ad1352fada51fdc499741875bb123 (patch)
tree920d56c43a7ec68175e3076c0cd102f50ae1d47d /shell
parent24281e28a1880fcb5d536181181b274c953cb2ab (diff)
fixed unmatched quote
Diffstat (limited to 'shell')
-rw-r--r--shell/.config/shell/aliasrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/.config/shell/aliasrc b/shell/.config/shell/aliasrc
index c517414..c5e28ec 100644
--- a/shell/.config/shell/aliasrc
+++ b/shell/.config/shell/aliasrc
@@ -1,4 +1,4 @@
-[ -x "$(command -v nvim)" ] && alias vim='nvim" vimdiff="nvim -d"
+[ -x "$(command -v nvim)" ] && alias vim='nvim' vimdiff='nvim -d'
# Verbosity and settings that you pretty much just always are going to want.
alias \
@@ -40,5 +40,8 @@ alias xargs='xargs '
# pass files selected in nnn to a program
# e.g. "nsel mpv60" to play multiple videos one after another
-nsel_internal() {cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n' | awk 'NF { print "\""$0"\""}' | tr '\n' ' '}
+nsel_internal() {
+ cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | \
+ tr '\0' '\n' | awk 'NF { print "\""$0"\""}' | tr '\n' ' '
+ }
alias nsel='nsel_internal | xargs '