瀏覽代碼

add func _my_install_symlink_script

pull/1/head
10sr 12 年之前
父節點
當前提交
b655b7eddc
共有 1 個檔案被更改,包括 9 行新增1 行删除
  1. +9
    -1
      bashrc

+ 9
- 1
bashrc 查看文件

@@ -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…
取消
儲存