Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dcore:boot-scripts_source_20150429 [2015/05/04 11:56] – created sm8ps | dcore:boot-scripts_source_20150429 [2015/05/06 02:53] (current) – Added link to GIT-repo sm8ps | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Boot-scripts (source, 20150429) ====== | ====== Boot-scripts (source, 20150429) ====== | ||
| + | The scripts in their present state are available at the [[http:// | ||
| + | |||
| ===== ' | ===== ' | ||
| <code Bash> | <code Bash> | ||
| Line 798: | Line 800: | ||
| 43 fi | 43 fi | ||
| 44 done | 44 done | ||
| + | </ | ||
| + | |||
| + | ===== ' | ||
| + | <code Bash> | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 10 # Environment variables and prompt for Ash SHell | ||
| + | 11 # or Bash. Default is a classic prompt. | ||
| + | 12 # | ||
| + | 13 PS1=' | ||
| + | 14 PAGER=' | ||
| + | 15 MANPAGER=' | ||
| + | 16 LANG=en_US.UTF8 | ||
| + | 17 | ||
| + | 18 `which editor >/ | ||
| + | 19 | ||
| + | 20 export PS1 PAGER LANG EDITOR MANPAGER | ||
| + | 21 | ||
| + | 22 export BACKUP=1 | ||
| + | 23 [ "`id -un`" = "`cat / | ||
| + | 24 export FLWM_TITLEBAR_COLOR=" | ||
| + | 25 | ||
| + | 26 if [ -f " | ||
| + | 27 | ||
| + | 28 . " | ||
| + | 29 fi | ||
| + | 30 | ||
| + | 31 TERMTYPE=`/ | ||
| + | 32 [ ${TERMTYPE: | ||
| + | 33 [ ! -f / | ||
| + | 34 [ -f / | ||
| + | 35 [ -e / | ||
| + | 36 startx | ||
| + | 37 ) | ||
| </ | </ | ||
| ===== ' | ===== ' | ||
| <code Bash> | <code Bash> | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 10 alias ls='ls -p' | ||
| + | 11 alias ll='ls -l' | ||
| + | 12 alias la='ls -la' | ||
| + | 13 | ||
| + | 14 # Avoid errors... use -f to skip confirmation. | ||
| + | 15 alias cp='cp -i' | ||
| + | 16 alias mv='mv -i' | ||
| + | 17 alias rm='rm -i' | ||
| </ | </ | ||
| ===== ' | ===== ' | ||