Skip to content

Commit

Permalink
the usual
Browse files Browse the repository at this point in the history
  • Loading branch information
notwa committed Mar 6, 2015
1 parent 137a8d4 commit 4c14e18
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion home/-shrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions home/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sh/e
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions ssh/known_hosts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ gist.github.com,192.30.252.143 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9t
192.30.252.140 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
192.30.252.141 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
192.30.252.131 ssh-rsa AAAAB3NzaC1yc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i/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==

0 comments on commit 4c14e18

Please sign in to comment.