I want to setup an alias alias open=xdg-open
this whould replace the normal linux open
command which in turn itself is a symlink to openvt
.
I've running a debian wheezy installation with a bash shell. Does Anybody see there possible problems if I do so?
Yes it is. Once you alias it, it's valid only for your user.
You cold also add it inside ~/.bashrc
, so it will be available only for your user and only for the current shell session (aliasing itself again every time you start a new session).
In some distro, .bashrc
loads a file called .bash_aliases
for every session. You could also add your alias there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With