Parcourir la source

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

pull/1/head
10sr il y a 13 ans
Parent
révision
86fded9a64
1 fichiers modifiés avec 11 ajouts et 1 suppressions
  1. +11
    -1
      bashrc

+ 11
- 1
bashrc Voir le fichier

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


mkcd(){ mkcd(){
if test -d "$1"
if test -z "$1"
then
echo "mkcd: usage: mkcd <dir>"
return 1
elif test -d "$1"
then then
echo "Dir \"$1\" already exists." echo "Dir \"$1\" already exists."
else else
@@ -600,6 +604,12 @@ mkcd(){
cd "$1" 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 if test -n "$TMUX" && null type reattach-to-user-namespace
then then
alias pbpaste="reattach-to-user-namespace pbpaste" alias pbpaste="reattach-to-user-namespace pbpaste"


Chargement…
Annuler
Enregistrer