Skip to content

Commit

Permalink
add generic dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed Aug 9, 2019
1 parent 494e74b commit 0520847
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions generic/.bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
tmux attach -t default || tmux new -s default
fi
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

AVAILABLE_DOTFILES=( "fish" "vim" "vscode" "git" "tmux" "tilix" )
AVAILABLE_DOTFILES=( "fish" "vim" "vscode" "git" "tmux" "tilix" "generic")


if [ $# -eq 0 ]
Expand Down
3 changes: 3 additions & 0 deletions run/generic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
echo "Running generic dotfile configuration"

ln -fs $PWD/generic/.bash_profile $HOME/.bash_profile

0 comments on commit 0520847

Please sign in to comment.