Compare commits
2 Commits
de84627ad1
...
eb31c22500
| Author | SHA1 | Date | |
|---|---|---|---|
| eb31c22500 | |||
| 3a1a81a671 |
23
create-links.sh
Executable file
23
create-links.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
#===============================================================================
|
||||
#
|
||||
# FILE: create-symlinks.sh
|
||||
# USAGE:
|
||||
# DESCRIPTION:
|
||||
# REQUIREMENTS:
|
||||
# NOTES:
|
||||
# AUTHOR: C Hawley
|
||||
# CREATED:
|
||||
#
|
||||
#===============================================================================
|
||||
|
||||
# If regular files exists, remove them
|
||||
[[ -f $HOME/.vimrc ]] && rm $HOME/.vimrc
|
||||
[[ -d $HOME/.vim ]] && rm $HOME/.vim
|
||||
|
||||
# If symlinks exist, unlink them
|
||||
[[ -L $HOME/.vimrc ]] && unlink $HOME/.vimrc
|
||||
[[ -L $HOME/.vim ]] && unlink $HOME/.vim
|
||||
|
||||
ln -s $PWD/.vimrc $HOME/.vimrc
|
||||
ln -s $PWD/.vim $HOME/.vim
|
||||
Reference in New Issue
Block a user