comparison tcsh @ 2:1c563df145fa

No need for freakingly fail script uploader.
author Edho Prima Arief <me@myconan.net>
date Sat, 10 Jul 2010 12:12:45 +0000
parents cd87be0968d9
children 94ee419ad047
comparison
equal deleted inserted replaced
1:ddd721f10cb8 2:1c563df145fa
24 alias h history 25 24 alias h history 25
25 alias j jobs -l 25 alias j jobs -l
26 alias la ls -A 26 alias la ls -A
27 alias ll ls -lA 27 alias ll ls -lA
28 alias ls ls -F 28 alias ls ls -F
29 alias upload-tcsh-init 'echo "put ${HOME}/.tcsh_init www/static/tcsh_init.txt" | sftp myconnet@myconan.net'
30 alias download-tcsh-init 'printf "%s" "Current version will be overwritten! Press enter to continue or ctrl-c to cancel."; read _ ; curl -o ${HOME}/.tcsh_init.new http://static.myconan.net/tcsh_init.txt && cp "${HOME}/.tcsh_init" "${HOME}/.tcsh_init.old" && ln -f "${HOME}/.tcsh_init.new" "${HOME}/.tcsh_init" && rm "${HOME}/.tcsh_init.old" "${HOME}/.tcsh_init.new"'
31 29
32 if ($?prompt) then 30 if ($?prompt) then
33 set gnuls_opts="--color=auto --group-directories-first -F" 31 set gnuls_opts="--color=auto --group-directories-first -F"
34 set iscolor=0 32 set iscolor=0
35 switch (${TERM}) 33 switch (${TERM})