This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install script for servers not connected to the Internet from current local install | |
#------------------------------------------------------- | |
#!/bin/bash | |
set -x | |
scp -r ~/softwares/.fzf ${2:-root}@$1:/usr/local/bin/ | |
ssh ${2:-root}@$1 'echo "[ -f /usr/local/bin/.fzf/.fzf.bash ] && source /usr/local/bin/.fzf/.fzf.bash" >> /etc/bashrc' | |
ssh ${2:-root}@$1 'chmod +x /usr/local/bin/.fzf/bin/fzf' | |
#------------------------------------------------------- | |
HISTSIZE=2000 |