Skip to content

Commit

Permalink
feat: commacd
Browse files Browse the repository at this point in the history
  • Loading branch information
tanducmai committed Jul 23, 2023
1 parent f6b52fd commit 9443f16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions bash/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ source_if_exists /usr/bin/bash_command_timer.sh
# Auto-launch ssh-agent on login
source_if_exists "${DOTFILES}/bash/ssh-agent"

# Source commacd: https://github.com/shyiko/commacd
source_if_exists /usr/bin/commacd.sh

# Unset locally defined function
unset -f source_if_exists

Expand Down
8 changes: 6 additions & 2 deletions scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,16 @@ npm install --force --global md-to-pdf@latest
log_task "Installing doctoc ..."
npm install --force --global doctoc@latest

log_task "Install doq - a requirement of vim-pydocstring ..."
log_task "Installing doq - a requirement of vim-pydocstring ..."
cd "${DOTVIM}"/pack/syntax/start/pydocstring
make install

log_task "Remove any changes made to bashrc during installation ..."
log_task "Removing any changes made to bashrc during installation ..."
git -C "${DOTFILES}" checkout .

log_task "Installing commacd ..."
sudo wget -P /usr/bin \
https://raw.githubusercontent.com/shyiko/commacd/master/commacd.sh

end="$(date +%s)"
log_task "Finish installation, taking $((end-start)) seconds."

0 comments on commit 9443f16

Please sign in to comment.