feat: profile: remove stupid outputs.
This commit is contained in:
parent
498303dcc7
commit
ae6865878f
1 changed files with 5 additions and 3 deletions
|
@ -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` $@
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue