This website works better with JavaScript.
首頁
探索
說明
登入
10sr
/
dotfiles-mirror
镜像来自
https://github.com/10sr/dotfiles.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
cd use pushd
pull/1/head
10sr
12 年之前
父節點
75f33dc0d5
當前提交
d027d082cd
共有
1 個文件被更改
,包括
14 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
bashrc
+ 14
- 0
bashrc
查看文件
@@ -202,6 +202,20 @@ then
|| complete -o default -o nospace -F _git g
fi
cd(){
if test $# -eq 0
then
pushd ~/
elif test $1 = -
then
local pwd="$PWD"
popd
pushd -n "$pwd" # stack last dir
else
pushd "$@"
fi
}
input(){
local foo
stty -echo
Write
Preview
Loading…
取消
儲存