spatrio.blogg.se

Iterm2 oh my zsh
Iterm2 oh my zsh





iterm2 oh my zsh
  1. #Iterm2 oh my zsh install
  2. #Iterm2 oh my zsh full

alias zshconfig = "nano ~/.zshrc" alias ohmyzsh = "nano ~/.oh-my-zsh" alias gpf = 'git push -f' # Docker alias alias dkps = "docker ps" alias dkst = "docker stats" alias dkpsa = "docker ps -a" alias dkimgs = "docker images" alias dkcpup = "docker-compose up -d" alias dkcpdown = "docker-compose down" alias dkcpstart = "docker-compose start" alias dkcpstop = "docker-compose stop" # Kubectl alias alias kdev = 'kubectl -n dev' alias kpg = 'kubectl -n playground' alias ktest = 'kubectl -n test' alias kprod = 'kubectl -n prod' alias kpreprod = 'kubectl -n preprod'

#Iterm2 oh my zsh full

# For a full list of active aliases, run `alias`. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. # See ZSH_THEME = "avit" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded.

iterm2 oh my zsh

export PATH = $HOME/bin:/usr/local/bin: $PATH export JAVA_HOME = "/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/" # jenv export PATH = " $HOME/.jenv/bin: $PATH" eval " $(jenv init - )" # Path to your oh-my-zsh installation. # If you come from bash you might have to change your $PATH.

#Iterm2 oh my zsh install

You can install it using this terminal command: Use - to quickly navigate between your last and current path.Example: take testFolder is the same as mkdir testFolder & cd testFolder take command creates a new directory and changes the path to it.) / (for root directory) and ~ (for home directory)

iterm2 oh my zsh

You can omit the cd (change directory) command.Use alias commands, you can get a list of all available alias by running alias in your terminal.Autocompletion by pressing Tab key which allows selecting available directories, commands and files.You can enrich ZSH by using the Oh My ZSH framework which provides some functionality that will boost your productivity:

iterm2 oh my zsh

Since macOS Catalina (10.15.2) the default shell is now ZSH instead of Bash.

  • Paste history that shows everything you’ve pasted into the terminal.
  • Different user profiles to save your window arrangements and more.
  • Register a hotkey that brings the terminal to the foreground when you’re in another application.
  • Split your terminal into multiple panes which you can switch by hotkeys.
  • tc-config file located in ~/.oh-my-zsh/custom/plugins/iterm-tab-color and add directory=hexValue or command=hexValue pairs to automatically set the color of your tab to hexValue when your current working directory matches directory or the current executing command matches command (you can use regular expressions) Example. Set tab color based on current working directory or current command Oh My Zsh Plugin for Setting iTerm2 Custom Tab Colors Installation cd ~/.oh-my-zsh/custom/pluginsĮnable it by adding iterm-tab-color to your plugins array in $HOME/.zshrc plugins=(git iterm-tab-color)Īfter adding it to your plugins and restarting your current terminal you'll have a new alias available tc Passing separate Red, Green, Blue values tc 255 198 0







    Iterm2 oh my zsh