misc fixes
This commit is contained in:
parent
7d8d6789ce
commit
99cd32d0e9
5 changed files with 37 additions and 2 deletions
20
.zshrc
20
.zshrc
|
|
@ -1,4 +1,20 @@
|
|||
#complist
|
||||
# If not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
# don't put duplicate lines in the history. See bash(1) for more options
|
||||
export HISTCONTROL=ignoredups
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
|
||||
PERL5LIB=$HOME/local/lib64/perl5/site_perl/5.8.8/
|
||||
autoload -U compinit
|
||||
compinit
|
||||
setopt extended_glob
|
||||
|
|
@ -62,7 +78,9 @@ fi
|
|||
|
||||
#source ~/.zsh_profile
|
||||
source ~/.zprofile
|
||||
source ~/.bash_aliases
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
source ~/.bash_aliases
|
||||
fi
|
||||
source ~/.zshenv
|
||||
if [ -n "`which fortune`" ]; then
|
||||
fortune
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue