Selaa lähdekoodia

fix some settings

pull/1/head
10sr 12 vuotta sitten
vanhempi
commit
3ee0e58067
1 muutettua tiedostoa jossa 46 lisäystä ja 3 poistoa
  1. +46
    -3
      bashrc

+ 46
- 3
bashrc Näytä tiedosto

@@ -39,10 +39,9 @@ then
else else
export EDITOR=vi export EDITOR=vi
fi fi
export VISUAL="$EDITOR"
export LESS="-iRMX"
export LC_MESSAGES=C export LC_MESSAGES=C
export CDPATH=".:~" export CDPATH=".:~"
export VISUAL="$EDITOR"
export GIT_PAGER="$PAGER" export GIT_PAGER="$PAGER"
export GIT_EDITOR="$EDITOR" export GIT_EDITOR="$EDITOR"


@@ -77,7 +76,11 @@ fi
################################### ###################################
# some aliases and functions # some aliases and functions


alias ls="ls -hCF $(test "$TERM" == dumb || echo --color=auto\ )--time-style=long-iso"
test "$TERM" == dumb || _ENABLECOLOR="--color=always "

export LESS="-iRMX"
export GREP_OPTIONS="${_ENABLECOLOR}"
alias ls="ls -hCF ${_ENABLECOLOR}--time-style=long-iso"
# alias ll="ls -l" # alias ll="ls -l"
# alias la="ls -A" # alias la="ls -A"
# alias lla="ls -Al" # alias lla="ls -Al"
@@ -439,3 +442,43 @@ __my_prompt_function(){ # used by PS1


} }


# from https://wiki.archlinux.org/index.php/X_resources
invader(){
# ANSI color scheme script featuring Space Invaders
#
# Original: http://crunchbanglinux.org/forums/post/126921/#p126921
# Modified by lolilolicon
#

f=3 b=4
for j in f b; do
for i in {0..7}; do
printf -v $j$i %b "\e[${!j}${i}m"
done
done
bld=$'\e[1m'
rst=$'\e[0m'

cat << EOF

$f1 ▀▄ ▄▀ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4 ▀▄ ▄▀ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
$f1 ▄█▀███▀█▄ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4 ▄█▀███▀█▄ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
$f1█▀███████▀█ $f2▀▀███▀▀███▀▀ $f3▀█▀██▀█▀ $f4█▀███████▀█ $f5▀▀███▀▀███▀▀ $f6▀█▀██▀█▀$rst
$f1▀ ▀▄▄ ▄▄▀ ▀ $f2 ▀█▄ ▀▀ ▄█▀ $f3▀▄ ▄▀ $f4▀ ▀▄▄ ▄▄▀ ▀ $f5 ▀█▄ ▀▀ ▄█▀ $f6▀▄ ▄▀$rst

$bld$f1▄ ▀▄ ▄▀ ▄ $f2 ▄▄▄████▄▄▄ $f3 ▄██▄ $f4▄ ▀▄ ▄▀ ▄ $f5 ▄▄▄████▄▄▄ $f6 ▄██▄ $rst
$bld$f1█▄█▀███▀█▄█ $f2███▀▀██▀▀███ $f3▄█▀██▀█▄ $f4█▄█▀███▀█▄█ $f5███▀▀██▀▀███ $f6▄█▀██▀█▄$rst
$bld$f1▀█████████▀ $f2▀▀▀██▀▀██▀▀▀ $f3▀▀█▀▀█▀▀ $f4▀█████████▀ $f5▀▀▀██▀▀██▀▀▀ $f6▀▀█▀▀█▀▀$rst
$bld$f1 ▄▀ ▀▄ $f2▄▄▀▀ ▀▀ ▀▀▄▄ $f3▄▀▄▀▀▄▀▄ $f4 ▄▀ ▀▄ $f5▄▄▀▀ ▀▀ ▀▀▄▄ $f6▄▀▄▀▀▄▀▄$rst


$f7▌$rst

$f7▌$rst

$f7 ▄█▄ $rst
$f7▄█████████▄$rst
$f7▀▀▀▀▀▀▀▀▀▀▀$rst

EOF
}

Ladataan…
Peruuta
Tallenna