3 ms·
A different approach that i use: Since i often work on systems i don't directly own or have an own account on, i use eval "$(wget -O - https://myhost/.bashrc)
by blueflow 11y ago
A different approach that i use:
Since i often work on systems i don't directly own or have an own account on, i use
eval "$(wget -O - https://myhost/.bashrc)" https://myhost/.bashrc)"
to inject my bashrc into the current bash session to get my prompt, aliases and shortcuts ready without making changes to the fs. The functions defined in .bashrc help with managing pubkeys and loading other dotfiles.