Fixed BASH_IT issue and CloudFlare tunnel issue
This commit is contained in:
parent
8fe5d6fccf
commit
f4d955d349
2 changed files with 4 additions and 4 deletions
|
@ -45,11 +45,10 @@ if command -v powerline > /dev/null && [ -f "$HOME/.bashrc" ]; then
|
|||
fi
|
||||
|
||||
### Ensure completions are enabled
|
||||
if [ -d "$BASH_IT/enabled" ]; then
|
||||
logg info "Changing directory to $BASH_IT/enabled" && cd "$BASH_IT/enabled"
|
||||
else
|
||||
logg info "$BASH_IT/enabled not a directory yet"
|
||||
if [ ! -d "$BASH_IT/enabled" ]; then
|
||||
logg info "Creating the $BASH_IT/enabled directory" && mkdir -p "$BASH_IT/enabled"
|
||||
fi
|
||||
logg info "Changing directory to $BASH_IT/enabled" && cd "$BASH_IT/enabled"
|
||||
logg info 'Enabling bash-it completions'
|
||||
# TODO: Move these plugins to the .chezmoidata.yaml
|
||||
for COMPLETION in defaults dirs docker docker-compose export git makefile ng ssh system vagrant; do
|
||||
|
|
|
@ -268,6 +268,7 @@ if command -v cloudflared > /dev/null && [ -d "$HOME/.local/etc/cloudflared" ];
|
|||
fi
|
||||
|
||||
# Copy over configuration files
|
||||
logg info 'Ensuring /usr/local/etc/cloudflared exists' && sudo mkdir -p /usr/local/etc/cloudflared
|
||||
logg info 'Copying over configuration files from ~/.local/etc/cloudflared to /usr/local/etc/cloudflared'
|
||||
sudo cp -f "$HOME/.local/etc/cloudflared/cert.pem" /usr/local/etc/cloudflared/cert.pem
|
||||
sudo cp -f "$HOME/.local/etc/cloudflared/config.yml" /usr/local/etc/cloudflared/config.yml
|
||||
|
|
Loading…
Reference in a new issue