Remove hyphen from bash when reloading
parent
fb85db14a9
commit
2d7881022a
|
|
@ -243,7 +243,7 @@ _disable-thing ()
|
|||
rm $BASH_IT/$subdirectory/enabled/$(basename $plugin)
|
||||
fi
|
||||
|
||||
exec $0
|
||||
exec ${0/-/}
|
||||
|
||||
printf '%s\n' "$file_entity disabled."
|
||||
}
|
||||
|
|
@ -323,7 +323,7 @@ _enable-thing ()
|
|||
ln -s ../available/$plugin $BASH_IT/$subdirectory/enabled/$plugin
|
||||
fi
|
||||
|
||||
exec $0
|
||||
exec ${0/-/}
|
||||
|
||||
printf '%s\n' "$file_entity enabled."
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue