added scripts dir
This commit is contained in:
7
.scripts/dev-tmux
Executable file
7
.scripts/dev-tmux
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
tmux new-session -d
|
||||||
|
tmux split-window -h
|
||||||
|
tmux split-window
|
||||||
|
tmux new-window 'mutt'
|
||||||
|
tmux -2 attach-session -d
|
||||||
|
tmux select-pane -t 0
|
3
.scripts/zeptosay.zp
Normal file
3
.scripts/zeptosay.zp
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
(load "ascii.zp")
|
||||||
|
(cowsay (string-substitute (string-substitute (fold (lambda (x y) (++ x y)) "" args) "\n" " ") " " " "))
|
||||||
|
""
|
5
Makefile
5
Makefile
@@ -1,4 +1,4 @@
|
|||||||
all:bash ghc git input python tmux valgrind vim zsh
|
all: bash ghc git input python scripty tmux valgrind vim zsh
|
||||||
|
|
||||||
bash:
|
bash:
|
||||||
cp bash_profile ~/.bash_profile
|
cp bash_profile ~/.bash_profile
|
||||||
@@ -17,6 +17,9 @@ input:
|
|||||||
python:
|
python:
|
||||||
cp pythonrc ~/.pythonrc
|
cp pythonrc ~/.pythonrc
|
||||||
|
|
||||||
|
scripts:
|
||||||
|
cp .scripts ~/.scripts
|
||||||
|
|
||||||
tmux:
|
tmux:
|
||||||
cp dev-tmux ~/dev-tmux
|
cp dev-tmux ~/dev-tmux
|
||||||
cp tmux.conf ~/.tmux.conf
|
cp tmux.conf ~/.tmux.conf
|
||||||
|
5
zshrc
5
zshrc
@@ -204,7 +204,7 @@ save_dotfiles(){
|
|||||||
local DOTPATH=~/Documents/Code/Github/.dotfiles/
|
local DOTPATH=~/Documents/Code/Github/.dotfiles/
|
||||||
cp ~/.bash_profile ${DOTPATH}bash_profile
|
cp ~/.bash_profile ${DOTPATH}bash_profile
|
||||||
cp -r ~/.cabal/config ${DOTPATH}cabal/config
|
cp -r ~/.cabal/config ${DOTPATH}cabal/config
|
||||||
cp ~/dev-tmux ${DOTPATH}dev-tmux
|
cp -r ~/.scripts ${DOTPATH}.scripts
|
||||||
cp ~/.ghci ${DOTPATH}ghci
|
cp ~/.ghci ${DOTPATH}ghci
|
||||||
cp ~/.gitignore ${DOTPATH}gitignore
|
cp ~/.gitignore ${DOTPATH}gitignore
|
||||||
cp ~/.gitconfig ${DOTPATH}gitconfig
|
cp ~/.gitconfig ${DOTPATH}gitconfig
|
||||||
@@ -401,8 +401,7 @@ fi
|
|||||||
|
|
||||||
function zeptosay () {
|
function zeptosay () {
|
||||||
x=`fortune`
|
x=`fortune`
|
||||||
x="(begin (load \"ascii.scm\") (cowsay \"${(q)x}\"))"
|
zepto ~/.scripts/zeptosay.zp $x
|
||||||
zepto --single $x
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fortune | cowsay
|
fortune | cowsay
|
||||||
|
Reference in New Issue
Block a user