1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-04 22:39:02 -08:00

the usual

This commit is contained in:
Connor Olding 2015-03-06 07:14:33 -08:00
parent 137a8d4071
commit 4c14e1864f
5 changed files with 18 additions and 3 deletions

View file

@ -21,7 +21,7 @@ ify() {
$@ | $ex
}
has() { which "$1" >/dev/null 2>&1 && which "$1"; }
has() { which "$1" >&/dev/null && which "$1"; }
# cleanup in case of inherited exports
for x in AR CC CPP CXX CFLAGS CPPFLAGS CXXFLAGS LDFLAGS RANLIB RC WINDRES; do
@ -73,6 +73,7 @@ alias revend='objcopy -I binary -O binary --reverse-bytes=4'
alias fucksystemd='dmesg | grep -v audit'
alias gd='git diff'
alias gds='git --no-pager diff --stat'
alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj"
# providing extra functionality
# TODO: dotfiles first, like `LC_ALL=C ls -A` which doesnt work with -X flag

View file

@ -174,6 +174,17 @@ nn <silent> <c-]> :nohls<enter>
ino <silent> <c-]> <c-o>:nohls<enter>
" follow tag
nn <bar> <c-]>
" delete line
nn D dd
" this frees up x and X for use
set <s-Del>=[3;2~
nn <s-Del> X
" unfollow your leaders
nn <Leader>p "0p
nn <Leader>P "0P
nn <Leader>e :tabe
if v:version < 703 " even debian stable has 7.3, so...
set nomodeline

View file

@ -42,7 +42,8 @@ PATH="${PATH:?No existing PATH}:$rc/sh"
umask 027
for f in .bashrc .zshrc .-shrc .vimrc .conkyrc .inputrc .screenrc .xinitrc; do
for f in .bashrc .zshrc .-shrc .vimrc .conkyrc \
.inputrc .screenrc .xinitrc .indent.pro .uncrustify.cfg; do
dotless "$f"
r="$rc/home/$REPLY"
hardlink "$f" "$r"

2
sh/e
View file

@ -8,7 +8,7 @@ if [ $# -eq 0 ]; then
return
fi
local needroot=0
local f needroot=0
for f in $@; do
[ -e "$f" ] && { [ -w "$f" ] || needroot=1; }
# TODO: check directory permissions too

View file

@ -11,3 +11,5 @@ gist.github.com,192.30.252.143 ssh-rsa AAAAB3NzaC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