mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
add shellcheck ignores
This commit is contained in:
parent
cacfc704f2
commit
f496ac0b6f
@ -10,12 +10,14 @@
|
||||
|
||||
# sudo not required for some system commands
|
||||
for command in mount umount sv pacman updatedb su shutdown poweroff reboot ; do
|
||||
# shellcheck disable=SC2139
|
||||
alias $command="sudo $command"
|
||||
done; unset command
|
||||
|
||||
se() {
|
||||
local -r bindir=~sc/
|
||||
s=("${bindir}"**/*(.))
|
||||
# shellcheck disable=SC2086
|
||||
c="$(print -lnr ${s/$bindir/} | fzf)"
|
||||
[[ "${c}" ]] && "${EDITOR}" "$bindir$c"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user