This file contains hidden or 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
Recursively deleting all backup files that CVS creates (CVS creates backup files like .#Filename.java.1.1): | |
find ./ -name \.\*|xargs rm -f | |
Recursively changing ownership of CVS checkout | |
find ./ -name Tag | xargs sed -i -e "s/old_username/new_username/" | |
Recursively removing tabs from source files: | |
find . -name *.java -exec sed -ie 's/<Ctrl V and then a TAB>/ /g' {} \; |
This file contains hidden or 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
_complete_ssh_hosts () | |
{ | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
cut -f 1 -d ' ' | \ | |
sed -e s/,.*//g | \ | |
grep -v ^# | \ | |
uniq | \ | |
grep -v "\[" ; |
This file contains hidden or 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
[diff] | |
tool = vscode | |
[difftool] | |
prompt = false | |
[difftool "vscode"] | |
cmd = code --wait --diff "$LOCAL" "$REMOTE" | |
trustExitCode = false | |
[difftool "winmerge"] | |
cmd = '/mnt/c/Users/watamario15/AppData/Local/Programs/WinMerge/WinMergeU.exe' -e -r -u -x -wl -wr -dl "Your $MERGED" -dr "Incoming $MERGED" "$LOCAL" "$REMOTE" | |
trustExitCode = false |