mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-22 23:03:26 +03:00
Use sudo instead of su for tests
This commit is contained in:
parent
a21c438a20
commit
4f535e6e00
@ -8,4 +8,4 @@ end
|
||||
|
||||
@test 'None' (_context) -z
|
||||
@test 'SSH' (set -g SSH_TTY 'true'; _context) = $USER'@'(prompt_hostname)' '
|
||||
@test 'Root' (_tide_decolor (su -c "fish -c 'source $sourceFile;_tide_item_context'")) = 'root@'(prompt_hostname)' '
|
||||
@test 'Root' (_tide_decolor (sudo fish -c "source $sourceFile;_tide_item_context")) = 'root@'(prompt_hostname)' '
|
Loading…
Reference in New Issue
Block a user