Back cd and 🐛 nodejsscript completions

This commit is contained in:
Jan Andrle 2024-02-27 16:33:27 +01:00
parent 7ab8920b68
commit d0dbbf6d87
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB
3 changed files with 2 additions and 34 deletions

View File

@ -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'

View File

@ -1,8 +1,7 @@
{
"version": "1.0",
"scripts": {
"§vim_plugins": {
"target": "§vim_plugins",
"§vim_plugins.mjs": {
"npx": false,
"completions": {
"path": [],
@ -35,4 +34,4 @@
]
}
}
}
}

View File

@ -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")