mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-01 20:09:13 +02:00
Renamed envs and bash/scriptlets to *.d
This commit is contained in:
parent
4aee70fd06
commit
3bbb4d6c9a
18 changed files with 2 additions and 77 deletions
|
@ -1,39 +0,0 @@
|
|||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
alias dir='dir --color=auto'
|
||||
alias vdir='vdir --color=auto'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
# some more ls aliases
|
||||
alias l.='ls -d *'
|
||||
alias ll='ls -l --si -v --group-directories-first'
|
||||
alias la='ls -A'
|
||||
alias lla='ll -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# Use vim if possible instead of vi
|
||||
if [[ $(command -v vim) ]]; then
|
||||
alias vi='vim'
|
||||
else
|
||||
alias vim='vi'
|
||||
fi
|
||||
|
||||
# Reload bashrc
|
||||
alias bashreload="source ~/.bashrc"
|
||||
|
||||
# Easy calculator instead of bc
|
||||
alias pc='python -ic "from __future__ import division; from math import *"'
|
||||
|
||||
# Moving around
|
||||
alias ~='cd ~'
|
||||
alias ..='cd ..'
|
||||
|
||||
# Computer control
|
||||
alias blank='xset dpms force off'
|
||||
alias lock='blank; xscreensaver-command --lock'
|
Loading…
Add table
Add a link
Reference in a new issue