Skip to content

Commit

Permalink
feat(bookmark): rename aliases for add/show bookmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Deavon M. McCaffery committed Aug 19, 2016
1 parent 6b560ba commit 602c12a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ mkdir -p ~/.ssh 1>/dev/null 2>&1
echo "Installing uber to ~/.ssh..."
cp -Rf src/* ~/.ssh 1>/dev/null 2>&1

if test -f backup/ssh/scripts/bookmarks.sh; then
echo "Restoring bookmarks..."
cp -R backup/ssh/scripts/bookmarks.sh ~/.ssh/scripts 1>/dev/null 2>&1
fi

if test -f ~/.bashprofile; then
echo "Backing up bash profile..."
cp ~/.bash_profile backup/bash_profile
Expand Down
6 changes: 5 additions & 1 deletion src/scripts/add-bookmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ function add-bookmark() {
fi
}

function mk-bm() {
function mbm() {
add-bookmark $@
}

function mb() {
add-bookmark $@
}
2 changes: 1 addition & 1 deletion src/scripts/show-boomarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function show-bookmarks() {
cat ~/.ssh/scripts/bookmarks.sh
}

function show() {
function lbm() {
show-bookmarks
}

Expand Down

0 comments on commit 602c12a

Please sign in to comment.