From ae6865878f9a06cf2dac2f9a9795710f99755105 Mon Sep 17 00:00:00 2001 From: surdeus Date: Fri, 12 Jul 2024 20:54:58 +0500 Subject: [PATCH] feat: profile: remove stupid outputs. --- dot/file/profile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dot/file/profile b/dot/file/profile index af9d348..6068bbe 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -6,6 +6,10 @@ reload-profile(){ . $PROFILE } +no-output() { + $@ &> /dev/null +} + sctl(){ systemctl $@ } @@ -86,13 +90,11 @@ export-loop \ XNOTIFY 'dunstify' \ SSH_ASKPASS ''\ -echo dick source-if-exist "$ETC/script/lf.sh" -echo suck test -r $SETENV && . "$SETENV" && setenv profile # Visual editor. -if which bb ; then +if no-output which bb ; then ve() { `bb which nvim vim vi` $@ }