zarkanian@sh.itjust.works to BashEnglish · tre dagar sedanbash trickssh.itjust.worksimagemessage-square36fedilinkarrow-up1410arrow-down12
arrow-up1408arrow-down1imagebash trickssh.itjust.workszarkanian@sh.itjust.works to BashEnglish · tre dagar sedanmessage-square36fedilink
minus-squareSubArcticTundralinkfedilinkEnglisharrow-up4·tre dagar sedanOh, if you want to avoid running a built in command like ls or cp and want to run the actual thing in /usr/bin, you prefix it with a ^, so eg ^cp -p.
minus-squareziggurat@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-2tre dagar sedanInteresting. What does the ^ do in this situation? And I just want to not respect an alias, so falls back to either builtin or path. In zsh or bash I can prefix the command with the word command, or a backslash (directly before the command)
minus-squareSubArcticTundralinkfedilinkEnglisharrow-up1·tre dagar sedanhttps://www.nushell.sh/book/escaping.html I don’t know whether unsetting an alias is possible though. https://www.nushell.sh/book/aliases.html#replacing-existing-commands-using-aliases
Oh, if you want to avoid running a built in command like
ls
orcp
and want to run the actual thing in/usr/bin
, you prefix it with a^
, so eg^cp -p
.Interesting. What does the ^ do in this situation?
And I just want to not respect an alias, so falls back to either builtin or path.
In zsh or bash I can prefix the command with the word command, or a backslash (directly before the command)
https://www.nushell.sh/book/escaping.html
I don’t know whether unsetting an alias is possible though.
https://www.nushell.sh/book/aliases.html#replacing-existing-commands-using-aliases