shell-things/bash_aliases

29 lines
1.0 KiB
Bash
Raw Normal View History

2011-08-12 22:15:14 +02:00
# This is ~/.bash_aliases file by Mika Suomalainen (Mkaysi)
2011-08-15 15:17:52 +02:00
# Feel free to redistribute and copy-paste parts of this bash_aliases file,
# but if you can, please mention where did you get this or part of this file.
# If it's originally copy-pasted from somewhere else, mention that original source
# (which is mentioned in this file).
2011-08-13 12:02:01 +02:00
# Moving between directories:
2011-08-12 22:15:14 +02:00
alias ..="cd .."
alias .="cd ."
2011-08-13 12:02:01 +02:00
# As you can see, I don't use/like Vi(m) :)
2011-08-12 22:15:14 +02:00
alias editor="nano"
2011-08-13 12:02:01 +02:00
alias vi="nano"
alias vim="nano"
# Use htop instead of top, it's better. Requires htop.
alias top="htop"
2011-08-14 18:11:11 +02:00
# Automaticly adds title to Youtube-dl when downloading videos with it. Requires youtube-dl.
2011-08-13 12:02:01 +02:00
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"
2011-08-14 18:11:11 +02:00
alias gitk="gitg" # Requires gitg . I just think that it looks nicer than gitk.
2011-08-14 18:05:48 +02:00
# Usually when I run "time", I want to know the current time.
alias time="date"