move udot to functions

This commit is contained in:
2016-07-10 13:27:57 +02:00
parent 9bcc600d7b
commit 42be23196e
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,14 @@
# Update dotfiles
udot() {
cwd=$(pwd)
cd ~/.dotfiles/
git pull
bin/dfm install
source ~/.dotfiles/aliases
source ~/.dotfiles/functions
cd $cwd
}
#Docker: bash into running Docker container
dockersh() {
docker cp ~/.dotfiles/docker.bashrc $1:/.docker.bashrc