bugfixing..
This commit is contained in:
parent
22471d7e51
commit
82fc4a44cc
1 changed files with 3 additions and 1 deletions
|
@ -18,11 +18,13 @@ source $HOME/.config/fish/functions/c_fisher.fish
|
|||
set -p EDITOR (which nvim)
|
||||
|
||||
# ─< check for sudo/root >──────────────────────────────────────────────────────────────────
|
||||
if [ $USER = root ]
|
||||
if [ $USER = "root" ]
|
||||
set sudo ""
|
||||
else
|
||||
if command -v sudo >/dev/null 2>&1
|
||||
set sudo "sudo"
|
||||
end
|
||||
end
|
||||
|
||||
# ─────────────────────────< START | distro/packagemanger detection >─────────────────────────
|
||||
# ─< DNF - Fedora >─────────────────────────────────────────────────────
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue