Steps to create the alias
- Download Obsidian AppImage from the official website.
- Move the downloaded AppImage to a directory meant for system-wide executables. We’ll use /usr/local/bin in this example.
sudo mv ~/Downloads/Obsidian-1.6.7.AppImage /usr/local/bin/obsidian.AppImage
- Ensure the AppImage has the necessary permissions to execute:
sudo chmod +x /usr/local/bin/obsidian.AppImage
- Add the alias to your shell configuration file. This will depend on the shell you are using (bash or zsh).
-
For bash:
echo 'alias obsidian="/usr/local/bin/obsidian.AppImage"' >> ~/.bashrc source ~/.bashrc
-
For zsh:
echo 'alias obsidian="/usr/local/bin/obsidian.AppImage"' >> ~/.zshrc source ~/.zshrc
- Test the alias to ensure it works:
obsidian
That’s it! Feel free to reply if you need help getting this to work on your machine.
—
I like to make guides like this, and other neat things.