mv
This commit is contained in:
parent
fce1d0b1a7
commit
35d332a956
1 changed files with 8 additions and 8 deletions
16
spcd/main.sh
16
spcd/main.sh
|
@ -922,6 +922,14 @@ spcd_os_grep() {
|
||||||
sed "s|^\"\(.*\)\"$|\1|"
|
sed "s|^\"\(.*\)\"$|\1|"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
spcd_mkdir() {
|
||||||
|
spcd_mkdir__path="${1}"
|
||||||
|
if [ -n "${spcd_mkdir__path}" ]; then
|
||||||
|
echo "→ ${spcd_mkdir__path}"
|
||||||
|
mkdir --parents "${spcd_mkdir__path}" || exit
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# ╭───────────┬──────╮
|
# ╭───────────┬──────╮
|
||||||
# │ functions │ step │
|
# │ functions │ step │
|
||||||
# ╰───────────┴──────╯
|
# ╰───────────┴──────╯
|
||||||
|
@ -996,14 +1004,6 @@ spcd_ls() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_mkdir() {
|
|
||||||
spcd_mkdir__path="${1}"
|
|
||||||
if [ -n "${spcd_mkdir__path}" ]; then
|
|
||||||
echo "→ ${spcd_mkdir__path}"
|
|
||||||
mkdir --parents "${spcd_mkdir__path}" || exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_open() {
|
spcd_open() {
|
||||||
echo "${SPCD_OPEN}${*}"
|
echo "${SPCD_OPEN}${*}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue