wok-next diff slitaz-hacker/stuff/profile @ rev 198

Add pkg slitaz-hacker (user hacker for LiveCD)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 00:12:35 2008 +0100 (2008-02-13)
parents
children faba01f76e76
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slitaz-hacker/stuff/profile	Wed Feb 13 00:12:35 2008 +0100
     1.3 @@ -0,0 +1,51 @@
     1.4 +# ~/.profile: Executed by Bourne-compatible login SHells.
     1.5 +#
     1.6 +
     1.7 +# Path to personal scripts and executables (~/.local/bin).
     1.8 +#
     1.9 +if [ -d "$HOME/.local/bin" ] ; then
    1.10 +	PATH=$HOME/.local/bin:$PATH
    1.11 +	export PATH
    1.12 +fi
    1.13 +
    1.14 +# Java home directory path.
    1.15 +#
    1.16 +#JAVA_HOME=$HOME/Bin/jre1.6.0_03
    1.17 +#JAVA_BINDIR=$JAVA_HOME/bin
    1.18 +#if [ -d "$HOME/Bin" ] ; then
    1.19 +#	export PATH=$JAVA_BINDIR:$PATH
    1.20 +#fi
    1.21 +
    1.22 +# Environnement variables and prompt for Ash SHell
    1.23 +# or Bash.
    1.24 +#
    1.25 +
    1.26 +# Classic prompt.
    1.27 +PS1='\u@\h:\w\$ '
    1.28 +
    1.29 +# Light green and blue colored prompt.
    1.30 +#PS1='\e[1;32m\u@\h\e[0m:\e[1;34m\w\e[0m\$ '
    1.31 +
    1.32 +# Light blue or yellow.
    1.33 +#PS1='\e[1;34m\u@\h:\w\e[0m\$ '
    1.34 +#PS1='\[\033[1;33m\]\u@\h:\w\[\033[0m\]\$ '
    1.35 +
    1.36 +EDITOR='nano'
    1.37 +PAGER='less -EM'
    1.38 +
    1.39 +export PS1 EDITOR PAGER
    1.40 +
    1.41 +# Alias definitions.
    1.42 +#
    1.43 +alias df='df -h'
    1.44 +alias du='du -h'
    1.45 +
    1.46 +alias ls='ls -p'
    1.47 +alias ll='ls -l'
    1.48 +alias la='ls -la'
    1.49 +
    1.50 +# Avoid errors... use -f to skip confirmation.
    1.51 +alias rm='rm -i'
    1.52 +alias mv='mv -i'
    1.53 +
    1.54 +umask 022