Skip to content
Browse files

bashrc 追加(まだ全然設定書いてない)

  • Loading branch information...
1 parent 498e58a commit e039ace76a1d9899f786cc68a2b8c15ed9d88110 @tsucchi committed
Showing with 21 additions and 0 deletions.
  1. +21 −0 .bashrc
View
21 .bashrc
@@ -0,0 +1,21 @@
+export EDITOR=vi
+export IGNOREEOF=65536
+
+if [ "`whoami`" = "root" ] ; then
+ export PS1="[\w]\n\[\033[0;31m\]\u@\H[\!]#\[\033[0m\] "
+else
+ export PS1="[\w]\n\[\033[0;32m\]\u@\H[\!]$\[\033[0m\] "
+fi
+
+export LS_COLORS="di=0;36:ex=0;31:ln=0;35:cd=0;43;34:so=0;32"
+
+alias ls='ls -F --color=auto'
+alias la='ls -A'
+alias ll='ls -lhA'
+alias s='source ~/.bashrc'
+alias ..='cd ..'
+alias su='su -m'
+
+if [ -e "$HOME/perl5/perlbrew/etc/bashrc" ] ; then
+ source $HOME/perl5/perlbrew/etc/bashrc
+fi

0 comments on commit e039ace

Please sign in to comment.
Something went wrong with that request. Please try again.