0

I have the following setup on Ubuntu 14.04. Here is my .profile which switches to zsh because I don't have permission to run chsh:

export·PATH=$PATH:$HOME/bin
export·SHELL=$HOME/bin/zsh
exec·$HOME/bin/zsh·-l

Here is the .zshrc:

autoload -Uz promptinit
promptinit

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify
zstyle :compinstall filename '/home/pkhorsand/.zshrc'
autoload -Uz compinit
compinit -i -u -C

bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward

bindkey -v

autoload -U edit-command-line
zle -N edit-command-line
bindkey '^V' edit-command-line                   # Opens Vim to edit current command line
bindkey '^R' history-incremental-search-backward # Perform backward search in command line history
bindkey '^S' history-incremental-search-forward  # Perform forward search in command line history
bindkey '^P' history-search-backward             # Go back/search in history (autocomplete)
bindkey '^N' history-search-forward              # Go forward/search in history (autocomplete)

setopt +o nomatch

# load antigen
source $HOME/.zsh/antigen.zsh

# Load the oh-my-zsh's library.
antigen use oh-my-zsh

# Bundles from the default repo (robbyrussell's oh-my-zsh).
#antigen bundle git
#antigen bundle heroku
#antigen bundle pip
#antigen bundle lein
#antigen bundle command-not-found
antigen bundle zsh-users/zsh-syntax-highlighting

# Load the theme.
antigen theme robbyrussell
antigen theme https://github.com/caiogondim/bullet-train-oh-my-zsh-theme bullet-train

# Tell Antigen that you're done.
antigen apply

BULLETTRAIN_VIRTUALENV_BG="green"
BULLETTRAIN_VIRTUALENV_PREFIX=""
BULLETTRAIN_PROMPT_ORDER=(
    context
    dir
    virtualenv
    time
)

I have the exact same config file on a Mac and it works just fine so I have no idea why the difference in behavior. Where else should I look?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.