瀏覽代碼

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr 11 年之前
父節點
當前提交
86fded9a64
共有 1 個文件被更改,包括 11 次插入1 次删除
  1. +11
    -1
      bashrc

+ 11
- 1
bashrc 查看文件

@@ -590,7 +590,11 @@ tb(){
}

mkcd(){
if test -d "$1"
if test -z "$1"
then
echo "mkcd: usage: mkcd <dir>"
return 1
elif test -d "$1"
then
echo "Dir \"$1\" already exists."
else
@@ -600,6 +604,12 @@ mkcd(){
cd "$1"
}

mkcdd(){
# make and change date directory
_d=`date +%Y%m%d-%H%M%S`
mkcd "$_d"
}

if test -n "$TMUX" && null type reattach-to-user-namespace
then
alias pbpaste="reattach-to-user-namespace pbpaste"


Loading…
取消
儲存