iTerm2

Useful shortcuts

  • βŒ₯ + ⌘ + / - Show popup with recent directories
  • ⌘ + ; - Autocomplete command
  • ⇧ + ⌘ + ; - Show most recent commands
  • ⇧ + ⌘ + . - Edit command before executing it

Remove the right arrow to the left of the prompt

It’s the Marks feature. Disable it from Preferences -> Profiles -> <your profile> -> Terminal -> Shell integration -> Show mark indicators -> Off

– via Stack Overflow

Display status bar at the bottom

Preferences -> Appearance -> General -> Status bar location -> Bottom

Display shell variable in status bar (with Zsh)

After sourcing .iterm2_shell_integration.zsh, add the iterm2_print_user_vars function to your .zshrc and iterm2_set_user_var your variables:

source /Users/vladiliescu/.iterm2_shell_integration.zsh

# Your code here:
iterm2_print_user_vars() {
  iterm2_set_user_var azure_dir $(basename $AZURE_CONFIG_DIR ".Azure (Default)")
}

Then Preferences -> Profiles -> <YourProfile> -> Session -> Configure Status Bar, add an Interpolated String and set its string value to ☁️ \(user.azure_dir).

– via iTerm2 Docs