Mike MurphyAI Handyman
Subscribe
Back to tutorials

Create MacOS Terminal Alias Shortcuts for Obsidian Vaults

January 29, 2026 ·

In this tutorial, I will show you how to create Terminal Aliases and turn those "obnoxious" iCloud and Obsidian directory paths into simple, one-word shortcuts you can use to change directories, open VS Code and more.

Description:

In this tutorial, I will show you how to create Terminal Aliases and turn those “obnoxious” iCloud and Obsidian directory paths into simple, one-word shortcuts you can use to change directories, open VS Code and more.

**Visual Studio Code + Dot (Tutorial)
Obsidian
Get Hostinger VPS for n8n

What You Will Learn:

  • What are Mac Terminal Aliases?
  • MacOS Terminal Tips & Tricks
  • How To Create & Activate Terminal Aliases
  • How to Use & Edit Terminal Aliases

Terminal Aliases Added in Tutorial:

Jump to Obsidian Vault root
Jump to Code folder
Open Code folder in VS Code
Open Obsidian app to the MikeOS Vault
Jump to folder AND open VS Code
Easy access to edit zsh Config File
Create Terminal Dashboard

Terminal Commands:

cd: Change Directory
pwd: print working directory
**~: **Home Directory
clear: clear Terminal
&&: Run Consecutive Commands
Open Nano: nano ~/.zshrc
Write Out Nano: Ctrl + X
Write To File Nano: Return
Exit Nano: Ctrl + O
Activate Changes: source ~/.zshrc

🕒 Timestamps:

00:00 Intro To Tutorial
00:46 Terminal Aliases Demo
01:27 Terminal: Create Aliases
02:11 Terminal Tip: Drag & Drop Folders
02:57 Terminal Tip: Home Directory (cd)
03:22 Open Configuration File (.zshrc)
03:56 Hidden Folders & Files
04:44 Open File in Text Editor
05:42 Edit Configuration File
06:21 Adding Comments
06:51 Terminal Alias #1: Jump To Obsidian Vault
07:21 How To Create Terminal Aliases
08:35 Terminal Alias #2: Jump to Code
09:32 Write Out & Exit Nano
10:03 Activate Changes
11:24 Bonus Round
12:26 Bonus #1: Open in VS Code
13:12 Bonus #2: Open Obsidian App
14:00 Bonus #3: Double-Threat
14:54 Bonus #4: Edit Alias
16:08 Testing Bonus Aliases
17:41 Final Aliases: Alert + Dashboard
18:35 Write Out & Exit Nano

🪜Step-By-Step:

  1. Open MacOS Terminal
  2. Run nano ~/.zshrc to open Nano Editor
  3. Scroll to bottom using down arrow on keyboard
  4. Type # and enter comment to describe shortcut
  5. Enter alias aliasname = “cd ‘Path To Obsidian Vault’”
  6. Write Out: Ctrl + X
  7. Write To File: Return
  8. Exit Nano: Ctrl + O
  9. Activate Changes: source ~/.zshrc
  10. Enter alias (codebase) and tap Return

AI Unplugged · weekly

Newsletter for AI Builders

One practical email with the news, tools, terms, and tutorials worth remembering. Beehiiv sends it; Astro owns the archive.

No spam. Reply-friendly. Easy to leave.