shfmt
This commit is contained in:
parent
a3cb5357bc
commit
c2ae08b0c6
4 changed files with 9 additions and 14 deletions
|
@ -4,7 +4,7 @@ gen() {
|
||||||
if is-executable $1; then
|
if is-executable $1; then
|
||||||
echo "$1 updated"
|
echo "$1 updated"
|
||||||
"$@" >"_$argv[1]"
|
"$@" >"_$argv[1]"
|
||||||
else;
|
else
|
||||||
echo "skipping $1"
|
echo "skipping $1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,4 +82,3 @@ export MAMBA_NO_BANNER=1
|
||||||
if is-executable shiv; then
|
if is-executable shiv; then
|
||||||
export SHIV_ROOT=$HOME/.local/share/shiv
|
export SHIV_ROOT=$HOME/.local/share/shiv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ function cl() {
|
||||||
ls -F --color=auto
|
ls -F --color=auto
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#delete and reclone remote repo
|
#delete and reclone remote repo
|
||||||
reclone() {
|
reclone() {
|
||||||
basename=${PWD##*/}
|
basename=${PWD##*/}
|
||||||
|
@ -73,5 +72,3 @@ py2nb2html() {
|
||||||
echo "generating html file for $pyfile"
|
echo "generating html file for $pyfile"
|
||||||
jupytext --to notebook -o - $pyfile | jupyter nbconvert --execute --to html --stdin $@
|
jupytext --to notebook -o - $pyfile | jupyter nbconvert --execute --to html --stdin $@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ prepend-path() {
|
||||||
[ -d $1 ] && PATH="$1:$PATH"
|
[ -d $1 ] && PATH="$1:$PATH"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
is-executable getconf && PATH=$($(command -v getconf) PATH)
|
is-executable getconf && PATH=$($(command -v getconf) PATH)
|
||||||
|
|
||||||
# Prepend new items to path (if directory exists)
|
# Prepend new items to path (if directory exists)
|
||||||
|
|
Loading…
Reference in a new issue