Compare commits

..

No commits in common. "0a4e183bf53951ad6e4df71e65775e65aeafa52b" and "70c10dd25fe0b2aa08f36f5952f4350b4b134950" have entirely different histories.

4 changed files with 3 additions and 2850 deletions

View File

@ -203,7 +203,7 @@ ext xcf, X, flag f = gimp -- "$@"
ext 7z, has 7z = 7z -p l "$@" | "$PAGER" ext 7z, has 7z = 7z -p l "$@" | "$PAGER"
# This requires atool # This requires atool
ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER" ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has vim = vim "$@" ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@" ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@" ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@"

File diff suppressed because it is too large Load Diff

View File

@ -25,13 +25,12 @@ Host llnux
Hostname 10.0.0.1 Hostname 10.0.0.1
Port 1234 Port 1234
User docker User docker
IdentityFile ~/.ssh/llnux IdentityFile ~/.ssh/llnux
Host llnux-vpn Host llnux-vpn
Hostname 192.168.30.2 Hostname 192.168.30.2
Port 22 Port 22
User docker User docker
IdentityFile ~/.ssh/llnux
Host ingi Host ingi
Hostname studssh.info.ucl.ac.be Hostname studssh.info.ucl.ac.be

View File

@ -37,24 +37,4 @@ cat() {
unsetopt BEEP unsetopt BEEP
alias beep="sh -c 'speaker-test -t sine -f 600 > /dev/null & sleep .5 && pkill speaker-test'"
SCONFIG_PATH="~/Documents/sync/.config"
alias config_sync="sh -c 'cd $SCONFIG_PATH/scripts && sudo ./sync.sh'"
config_cp() {
src_dir=$(realpath "$1")
dest_dir="$SCONFIG_PATH/root$src_dir"
num_files=$(find "$src_dir" -type f | wc -l)
read "REPLY?About to copy $num_files files from $src_dir -> $dest_dir. Proceed? (Y/n) "
if [[ $REPLY =~ ^[Yy]$ ]]
then
mkdir -p "$(dirname "$dest_dir")"
cp -R "$src_dir" "$dest_dir"
if [ $? -eq 0 ]
then
echo "OK"
fi
fi
}