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
#!/bin/bash | |
sname=$(basename $0) | |
echo "Installing basic useful packages for $sname setup" | |
[[ "$OSTYPE" != "linux-gnu"* ]] && echo "OS is '$OSTYPE'.. OS not supported" && exit 0 | |
utils=(make gcc git curl tree extrace zenity pulseaudio-utils net-tools manpages-posix-dev python-is-python3 python3-pip) | |
beepacks=(chetanc10/probash chetanc10/vimmers chetanc10/retag chetanc10/packers chetanc10/gitbit chetanc10/wee) |
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
/* For an enhanced vim environment setup and experience, please check */ | |
/* for replacing whole pattern over entire directory tree */ | |
:arg **/*.c | argadd **/*.h | argdo %s/\<pattern1\>/pattern2/ge | update | |
:arg **/*.[ch] | argdo %s/\<pattern1\>/pattern2/ge | update | |
/* delete unwanted whitespaces/tabspaces from the line */ | |
:s/\s\+/ /g | |
cmd mode: diw |