mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
bashrc: sort MKAYSIGREPs
This commit is contained in:
parent
05fefad678
commit
a9e97d4250
24
bashrc
24
bashrc
@ -163,10 +163,10 @@ fi
|
||||
export EDITOR=vim
|
||||
|
||||
# Sets locale. You can get list of locales with "locale -a" command. This should be something which ends to .utf8
|
||||
#export LC_ALL=fi_FI.utf8 # MKAYSIGREP
|
||||
#export LC_ALL=fi_FI.utf8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
|
||||
# Sets your timezone. Set in format <Region/City>, or just timezone like UTC.
|
||||
#export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP
|
||||
#export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT
|
||||
|
||||
# Sets PATH. To add another path, add :</path/to/new/path> to string below.
|
||||
PATH=$HOME/.local/bin:$HOME/.local/games:$PATH
|
||||
@ -176,7 +176,7 @@ PATH=$HOME/.local/bin:$HOME/.local/games:$PATH
|
||||
#cd
|
||||
|
||||
# Uses most as the default pager if you uncomment line below. (You will also get colourful manpages :D).
|
||||
#export PAGER=most # MKAYSIGREP
|
||||
#export PAGER=most # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
|
||||
# Sets environmnet variable CPUARCH to output of "uname -p"
|
||||
CPUARCH=`uname -p`
|
||||
@ -190,14 +190,14 @@ alias sudo="sudo "
|
||||
alias ..="cd .."
|
||||
|
||||
# Use htop instead of top, it's better. Requires htop.
|
||||
#alias top="htop" # MKAYSIGREP
|
||||
#alias top="htop" # MKAYSIGREP # MKAYSIGREPALIAS
|
||||
|
||||
# Automaticly adds title to Youtube-dl when downloading videos with it. Requires youtube-dl.
|
||||
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
|
||||
#alias gitk="gitg" # Requires gitg . I just think that it looks nicer than gitk. #MKAYSIGREP # MKAYSIGREPALIAS
|
||||
|
||||
# If I run nautilus, I want it to open in folder where I am.
|
||||
#alias nautilus="nautilus ./"
|
||||
@ -218,14 +218,14 @@ 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
|
||||
#alias netcat="ncat " # MKAYSIGREP # MKAYSIGREPALIAS
|
||||
|
||||
# Tor (The Onion Router) specific.
|
||||
#alias usewithtor="proxychains " # MKAYSIGREP
|
||||
#alias torsocks="proxychains " # MKAYSIGREP
|
||||
#alias usewithtor="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS
|
||||
#alias torsocks="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS
|
||||
|
||||
# This should allow aliases to work with proxychains.
|
||||
#alias proxychains="proxychains " # MKAYSIGREP
|
||||
#alias proxychains="proxychains " # MKAYSIGREP # MKAYSIGREPALIAS
|
||||
|
||||
# Downloads folder over SSH. Usage: rdownload <host>:<remotefolder> <local_destination> | TIP: use ~/ssh/config to configure hosts.
|
||||
alias rdownload="rsync -h --progress -avz "
|
||||
@ -239,7 +239,7 @@ alias tmux="tmux -u"
|
||||
alias aptitute="aptitude "
|
||||
|
||||
# This is the checkinstall rule which I like to use.
|
||||
#alias checkinstall="make install " # MKAYSIGREP
|
||||
#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.
|
||||
@ -297,7 +297,7 @@ alias rsync-folder="rsync -h --progress -azvv "
|
||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||
|
||||
# Use GPG2 instead of GPG!
|
||||
# alias gpg=gpg2 # MKAYSIGREP
|
||||
# alias gpg=gpg2 # MKAYSIGREP # MKAYSIGREPALIAS
|
||||
|
||||
# For userspecific installation of mosh on remote server.
|
||||
alias lmosh="mosh --server=~/.local/bin/mosh-server "
|
||||
@ -323,7 +323,7 @@ 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
|
||||
# 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"
|
||||
|
Loading…
Reference in New Issue
Block a user