From d0dbbf6d87c86374174c6861419d2baa81e9fca5 Mon Sep 17 00:00:00 2001 From: Jan Andrle Date: Tue, 27 Feb 2024 16:33:27 +0100 Subject: [PATCH] :zap: Back `cd` and :bug: nodejsscript completions --- .bash/.bash_aliases | 1 - .config/nodejsscript/completions.json | 5 ++--- .config/nodejsscript/repl_history | 30 --------------------------- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 .config/nodejsscript/repl_history diff --git a/.bash/.bash_aliases b/.bash/.bash_aliases index 03f0b3f..6bc54f6 100644 --- a/.bash/.bash_aliases +++ b/.bash/.bash_aliases @@ -57,7 +57,6 @@ alias §cd.='clear;§ls' builtin pushd "$1" >/dev/null && pushd . } alias cd-vifm='cd `vifm --choose-dir -`' -eval "$(zoxide init --cmd cd bash)" mkcd(){ mkdir -p -- "$1" && cd -P -- "$1"; } alias §find.='find . -maxdepth 1' diff --git a/.config/nodejsscript/completions.json b/.config/nodejsscript/completions.json index 378146d..d35c10d 100644 --- a/.config/nodejsscript/completions.json +++ b/.config/nodejsscript/completions.json @@ -1,8 +1,7 @@ { "version": "1.0", "scripts": { - "§vim_plugins": { - "target": "§vim_plugins", + "§vim_plugins.mjs": { "npx": false, "completions": { "path": [], @@ -35,4 +34,4 @@ ] } } -} +} \ No newline at end of file diff --git a/.config/nodejsscript/repl_history b/.config/nodejsscript/repl_history deleted file mode 100644 index c9a94c1..0000000 --- a/.config/nodejsscript/repl_history +++ /dev/null @@ -1,30 +0,0 @@ -$.clipboard -$_ -s.ls() -s.grep("xml", "config.xml") -s.cat("config.xml") -s.cat() -s.ls() -echo(s.ls()) -s.ls() -[...s.ls()] -.clear -[...s.ls()] -s.ls().forEach(l=> echo(l)) -s.ls().forEach(echo) -s.ls("..") -s.ls() -s.pwd() -s.cd("../") -s.pwd() -s.cd("..") -s.pwd() -s.ls() -await sleep(700) -const sleep= t=> new Promise(r=> setTimeout(r, t)); -$0 -pipe(s=> s[0].split(""), s=> s.concat("ha".split("")), s=> s.join(""))($_) -$0= $_ -$_ -$[2] -$_, "vývoj.md")"hlavičky", "vývoj.md")"vývoj.md") \ No newline at end of file