AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Oh my zsh install autojump2/28/2024 # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" # auto-jump ] & source $HOME/.autojump/etc/profile.d/autojump.shĪutoload -U compinit & compinit -u # peco function peco-select-history () /. # 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. # You may need to manually set your language environment # export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions # if ] then # export EDITOR='vim' # else # export EDITOR='mvim' # fi # Compilation flags # export ARCHFLAGS="-arch x86_64" # ssh # export SSH_KEY_PATH="~/.ssh/dsa_id" # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. plugins =(git ) # User configuration export PATH = $HOME/bin:/usr/local/bin: $PATH # export MANPATH="/usr/local/man:$MANPATH" source $ZSH/oh-my-zsh.sh # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # HIST_STAMPS="mm/dd/yyyy" # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder # 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. ![]() # DISABLE_UNTRACKED_FILES_DIRTY="true" # Uncomment the following line if you want to change the command execution time # stamp shown in the history command output. This makes repository status check for large repositories # much, much faster. # COMPLETION_WAITING_DOTS="true" # Uncomment the following line if you want to disable marking untracked files # under VCS as dirty. # ENABLE_CORRECTION="true" # Uncomment the following line to display red dots whilst waiting for completion. ![]() # DISABLE_AUTO_TITLE="true" # Uncomment the following line to enable command auto-correction. # DISABLE_LS_COLORS="true" # Uncomment the following line to disable auto-setting terminal title. Is it an oh-my-zsh thing If I were to package these completions into a redistributable package or create an installer script, where should I place zsh completions and what else should I do during installation to make sure everything just works I'm targeting Ubuntu 16.04, 18.04 and 19.04, but non-distro-specific information is welcome. # export UPDATE_ZSH_DAYS=13 # Uncomment the following line to disable colors in ls. # DISABLE_AUTO_UPDATE="true" # Uncomment the following line to change how often to auto-update (in days). # HYPHEN_INSENSITIVE="true" # Uncomment the following line to disable bi-weekly auto-update checks. Please install it first. # CASE_SENSITIVE="true" # Uncomment the following line to use hyphen-insensitive completion. ZSH_THEME = "cloud" # Uncomment the following line to use case-sensitive completion. ![]() # Look in ~/.oh-my-zsh/themes/ # Optionally, if you set this to "random", it'll load a random theme each # time that oh-my-zsh is loaded. ![]() I just tried using zsh with the instructions autojump shows on install and it works fine for me.# Path to your oh-my-zsh installation. This sounds like an OMZ issue, where it needs to be updated for the latest changes to autojump. The autojump.sh file detects the current shell and loads the correct file from another location in the current version. That's all you'll see on a non-macports install of the latest autojump as well. However, on a brand new fresh install I'm seeing only autojump.sh and nothing else at all. OMZ is looking for autojump.zsh, and in an earlier MacPorts install profile.d did contain autojump.bash, autojump.sh, and autojump.zsh. The actual core autojump shell setup called for MacPorts is in /opt/local/etc/profile.d, but that may be an issue here. Jump quickly to directories that you have visited frecently. The OMZ autojump "plugin" is a simple nested if that just aims to automatically select the right profile of autojump depending on whether it was installed manually or one of the various package managers out there. Zsh-autosuggestions, Jethrokuan/Z, Ohmyzsh or Nnn. Replying to this in zsh using OMZ as well.
0 Comments
Read More
Leave a Reply. |