1
0

windows aliases

This commit is contained in:
devenblake 2020-10-31 18:01:02 -04:00
parent fa82848a3e
commit 74f8c1a4f5
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,3 @@
if [ -f ~/.bashrc ]; then
./bashrc
fi

12
dotfiles-old/.bashrc Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/bin/bash
complete -c man which complete -c man which
PS1="> " PS1="> "
PS2=">> " PS2=">> "
@ -19,11 +21,21 @@ alias ifswitch="iftoggle $1 down && iftoggle $1 up"
alias imount="idevicepair pair && sudo ifuse -o allow_other /mnt/iphone/" alias imount="idevicepair pair && sudo ifuse -o allow_other /mnt/iphone/"
# windows
alias ipconfig="ifconfig"
alias tracert="tracepath"
# i always forget this one but it's useful # i always forget this one but it's useful
alias p="ping 1.1.1.1" alias p="ping 1.1.1.1"
# my media hard drive # my media hard drive
alias partone="sudo mount -L 'PARTONE' /mnt/partone" alias partone="sudo mount -L 'PARTONE' /mnt/partone"
# sd card with music on it
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
# other volumes
mnt() {
sudo mount /dev/$1 /mnt/$1 && cd /mnt/$1
}
# aliases for using a VGA monitor, i use these at home and at school # aliases for using a VGA monitor, i use these at home and at school
vgaoff() { vgaoff() {