My Technical Notes

Monday, 11 November 2013

Adding a shortcut to an application in bash

To add a shortcut npp for notepad++.exe, we simply add:

alias npp="/pf/Notepad++/notepad++.exe"
To ~/.bashrc, which you can reload using:

source ~/.bashrc

No comments: