mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Fixed aliases and theme appearance.
This commit is contained in:
parent
0a3db5bf2d
commit
623c4b2ac3
4 changed files with 8 additions and 52 deletions
|
|
@ -14,6 +14,14 @@ alias _='sudo'
|
|||
# Show history
|
||||
alias history='fc -l 1'
|
||||
|
||||
# Enable ls colors
|
||||
LS_OPTIONS='-hF'
|
||||
if [ "$DISABLE_LS_COLORS" != "true" ]
|
||||
then
|
||||
# Find the option for using colors in ls, depending on the version: Linux or BSD
|
||||
ls --color -d . &>/dev/null 2>&1 && alias ls="ls --color=tty $LS_OPTIONS" || alias ls="ls -G $LS_OPTIONS"
|
||||
fi
|
||||
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
|
|
|
|||
|
|
@ -3,13 +3,6 @@ autoload colors; colors;
|
|||
export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
||||
#export LS_COLORS
|
||||
|
||||
# Enable ls colors
|
||||
if [ "$DISABLE_LS_COLORS" != "true" ]
|
||||
then
|
||||
# Find the option for using colors in ls, depending on the version: Linux or BSD
|
||||
ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
|
||||
fi
|
||||
|
||||
#setopt no_beep
|
||||
setopt auto_cd
|
||||
setopt multios
|
||||
|
|
|
|||
|
|
@ -1,45 +0,0 @@
|
|||
# Path to your oh-my-zsh configuration.
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
|
||||
# Set name of the theme to load.
|
||||
# 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.
|
||||
ZSH_THEME="mh"
|
||||
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Set to this to use case-sensitive completion
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Comment this out to disable weekly auto-update checks
|
||||
DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment following line if you want to disable colors in ls
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment following line if you want to disable autosetting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# 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)
|
||||
plugins=(git python pythonbrew vim-override)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source `which virtualenvwrapper.sh`
|
||||
|
||||
# Customize to your needs...
|
||||
if [ -z "$LC_ALL" ]; then export LC_ALL=en_US.UTF-8; fi
|
||||
if [ -z "$LANG" ]; then export LANG=en_US.UTF-8; fi
|
||||
|
||||
if [ -e $HOME/bin ]; then export PATH="$HOME/bin:$PATH"; fi
|
||||
unsetopt correctall
|
||||
|
||||
# Themes override ls alias from aliases.zsh
|
||||
alias tmux 'tmux -u2'
|
||||
Loading…
Add table
Add a link
Reference in a new issue