From b34475c13cafa3fcda85180384e83130711d3df2 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 22 May 2014 15:05:16 +0300 Subject: [PATCH] bashrc & zshrc: dd some stupid aliases. --- .bash_aliases.MKAYSIGREP | 8 -------- .zsh_aliases.MKAYSIGREP | 7 ------- bashrc | 16 ---------------- zshrc | 17 ----------------- 4 files changed, 48 deletions(-) diff --git a/.bash_aliases.MKAYSIGREP b/.bash_aliases.MKAYSIGREP index 62cc70ad..571b9ea5 100644 --- a/.bash_aliases.MKAYSIGREP +++ b/.bash_aliases.MKAYSIGREP @@ -1,11 +1,3 @@ alias top="htop" # MKAYSIGREP # MKAYSIGREPALIAS alias gitk="gitg" # Requires gitg . I just think that it looks nicer than gitk. #MKAYSIGREP # MKAYSIGREPALIAS -alias netcat="ncat " # MKAYSIGREP # MKAYSIGREPALIAS -alias usewithtor="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS -alias torsocks="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS -alias proxychains="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS -alias checkinstall="make install " # MKAYSIGREP # MKAYSIGREPALIAS alias gpg=gpg2 # MKAYSIGREP # MKAYSIGREPALIAS -alias wget="echo Running curl -LO instead of wget && curl -LO " # MKAYSIGREP # MKAYSIGREPALIAS -#alias aptitude='echo "You might want to try apt-* instead..."' #MKAYSIGREP #MKAYSIGREPALIAS - diff --git a/.zsh_aliases.MKAYSIGREP b/.zsh_aliases.MKAYSIGREP index 64685a01..cfedb632 100644 --- a/.zsh_aliases.MKAYSIGREP +++ b/.zsh_aliases.MKAYSIGREP @@ -1,12 +1,5 @@ alias top="htop" # MKAYSIGREP MKAYSIGREPALIAS alias gitk="gitg" # Requires gitg . I just think that it looks nicer than gitk. # MKAYSIGREP MKAYSIGREPALIAS -alias netcat="ncat " # MKAYSIGREP # MKAYSIGREPALIAS -alias usewithtor="proxychains " # MKAYSIGREP MKAYSIGREPALIAS -alias torsocks="proxychains " # MKAYSIGREP MKAYSIGREPALIAS -alias proxychains="proxychains " # MKAYSIGREP MKAYSIGREPALIAS -alias checkinstall="make install " # MKAYSIGREP MKAYSIGREPALIAS alias gpg=gpg2 # MKAYSIGREP MKAYSIGREPALIAS compdef gpg2=gpg # MKAYSIGREP MKAYSIGREPALIAS -alias wget="echo Running curl -LO instead of wget && curl -LO " # MKAYSIGREP # MKAYSIGREPALIAS -#alias aptitude='echo "You might want to try apt-* instead..."' #MKAYSIGREP #MKAYSIGREPALIAS diff --git a/bashrc b/bashrc index 210a4eea..2ea831b9 100644 --- a/bashrc +++ b/bashrc @@ -301,14 +301,6 @@ alias nmap-regular="nmap " alias nmap-comprehensive="sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all " # Little "safer" scan as connecting to only HTTP and HTTPS ports doesn't look so attacking. Copy-paste to .bash_custom and remove " -p 80,443" if you want to scan all ports which nmap scans by default. alias nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy " -#alias netcat="ncat " # MKAYSIGREP # MKAYSIGREPALIAS - -# Tor (The Onion Router) specific. -#alias usewithtor="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS -#alias torsocks="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS - -# This should allow aliases to work with proxychains. -#alias proxychains="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS # Downloads folder over SSH. Usage: rdownload : | TIP: use ~/ssh/config to configure hosts. alias rdownload="rsync -h --progress -avz " @@ -323,9 +315,6 @@ alias tmux="tmux -u" # I am always typoing "aptitude" with my phone... alias aptitute="aptitude " -# This is the checkinstall rule which I like to use. -#alias checkinstall="make install " # MKAYSIGREP # MKAYSIGREPALIAS - # The Battle for Wesnoth specific, http://wesnoth.org/ # It seems to be an good idea to have debug logs on terminal with svn version. alias wesnoth="wesnoth --debug" @@ -411,9 +400,6 @@ alias myip="curl -s http://icanhazip.com" alias myip4="curl -s4 http://icanhazip.com" alias myip6="curl -s6 http://icanhazip.com" -# Curl instead of wget with warning -# alias wget="echo Running curl -LO instead of wget && curl -LO " # MKAYSIGREP # MKAYSIGREPALIAS - # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ alias refreshgroups="exec su -l $USER" @@ -495,8 +481,6 @@ alias apty="apt -y" alias apt-gety="apt-get -y " alias aptitudey="aptitude -y " -#alias aptitude='echo "You might want to try apt-* instead..."' #MKAYSIGREP #MKAYSIGREPALIAS - # Set core pattern how I want it to be alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf;sysctl -f' diff --git a/zshrc b/zshrc index 1dc4b303..368cf2bf 100644 --- a/zshrc +++ b/zshrc @@ -214,7 +214,6 @@ alias youtube-dl="youtube-dl -t" # git specific. This is the command which I use when git asks me to commit something and says that I have modified files, even when I haven't. alias gdrop="git stash && git stash drop" -#alias gitk="gitg" # Requires gitg . I just think that it looks nicer than gitk. # MKAYSIGREP MKAYSIGREPALIAS # Show compilation date of WeeChat. alias weechat-version="weechat --help|head -n2" @@ -232,14 +231,6 @@ alias nmap-regular="nmap " alias nmap-comprehensive="sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all " # Little "safer" scan as connecting to only HTTP and HTTPS ports doesn't look so attacking. Copy-paste to .zsh_custom and remove " -p 80,443" if you want to scan all ports which nmap scans by default. alias nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy " -#alias netcat="ncat " # MKAYSIGREP # MKAYSIGREPALIAS - -# Tor (The Onion Router) specific. -#alias usewithtor="proxychains " # MKAYSIGREP MKAYSIGREPALIAS -#alias torsocks="proxychains " # MKAYSIGREP MKAYSIGREPALIAS - -# This should allow aliases to work with proxychains. -#alias proxychains="proxychains " # MKAYSIGREP MKAYSIGREPALIAS # Downloads folder over SSH. Usage: rdownload : | TIP: use ~/ssh/config to configure hosts. alias rdownload="rsync -h --progress -avz " @@ -254,9 +245,6 @@ alias tmux="tmux -u" # I am always typoing "aptitude" with my phone... alias aptitute="aptitude " -# This is the checkinstall rule which I like to use. -#alias checkinstall="make install " # MKAYSIGREP MKAYSIGREPALIAS - # The Battle for Wesnoth specific, http://wesnoth.org/ # It seems to be an good idea to have debug logs on terminal with svn version. alias wesnoth="wesnoth --debug" @@ -381,9 +369,6 @@ alias myip="curl -s http://icanhazip.com" alias myip4="curl -s4 http://icanhazip.com" alias myip6="curl -s6 http://icanhazip.com" -# Curl instead of wget with warning -#alias wget="echo Running curl -LO instead of wget && curl -LO " # MKAYSIGREP # MKAYSIGREPALIAS - # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ alias refreshgroups="exec su -l $USER" @@ -466,8 +451,6 @@ alias apt-gety="apt-get -y " alias aptitudey="aptitude -y " alias apty="apt -y" -#alias aptitude='echo "You might want to try apt-* instead..."' #MKAYSIGREP #MKAYSIGREPALIAS - # Set core pattern how I want it to be alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf;sysctl -f'