Browse Source

add func _my_install_symlink_script

pull/1/head
10sr 12 years ago
parent
commit
b655b7eddc
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      bashrc

+ 9
- 1
bashrc View File

@@ -383,7 +383,7 @@ _colors(){
}

_my_install_script(){
mkdir -p $HOMO/bin/
mkdir -p "$HOME/bin/"
for f in "$@"
do
bn=$(basename "$f")
@@ -395,6 +395,14 @@ _my_install_script(){
}
_my_install_script http://www.frexx.de/xterm-256-notes/data/colortable16.sh

_my_install_symlink_script(){
mkdir -p "$HOME/bin/"
for f in "$@"
do
ln -s "$PWD/$f" "$HOME/bin/"
done
}

winln(){
# for windose make link (actually junction)
if test $# -eq 0


Loading…
Cancel
Save