feat: profile: remove stupid outputs.

This commit is contained in:
Andrey Parhomenko 2024-07-12 20:54:58 +05:00
parent 498303dcc7
commit ae6865878f

View file

@ -6,6 +6,10 @@ reload-profile(){
. $PROFILE . $PROFILE
} }
no-output() {
$@ &> /dev/null
}
sctl(){ sctl(){
systemctl $@ systemctl $@
} }
@ -86,13 +90,11 @@ export-loop \
XNOTIFY 'dunstify' \ XNOTIFY 'dunstify' \
SSH_ASKPASS ''\ SSH_ASKPASS ''\
echo dick
source-if-exist "$ETC/script/lf.sh" source-if-exist "$ETC/script/lf.sh"
echo suck
test -r $SETENV && . "$SETENV" && setenv profile test -r $SETENV && . "$SETENV" && setenv profile
# Visual editor. # Visual editor.
if which bb ; then if no-output which bb ; then
ve() { ve() {
`bb which nvim vim vi` $@ `bb which nvim vim vi` $@
} }