Skip to content

Instantly share code, notes, and snippets.

# Install dotfiles
sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply iladin
#!/bin/sh
# Use BeyondCompare as difftool for git in cygwin.
# git config --global difftool.bc3.cmd "beyondcompare-diff.sh \"\$LOCAL\" \"\$REMOTE\""
# git difftool -t bc3 branch1..branch2
# Reference: http://www.tldp.org/LDP/abs/abs-guide.pdf
library=githelperfunctions.sh
#[ -f $library ] && . $library
@iladin
iladin / zstyle.zsh
Created July 28, 2016 22:23
For controlling zsh completion
# Do menu-driven completion.
zstyle ':completion:*' menu select
-------------------------------------------------------------------------
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005
Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5
Latest version of this file (in English) is usually at:
http://sed.sourceforge.net/sed1line.txt
http://www.pement.org/sed/sed1line.txt
This file will also available in other languages:
Chinese - http://sed.sourceforge.net/sed1line_zh-CN.html
apt update && \
apt upgrade && \
apt install git emacs && \
git clone https://github.com/syl20bnr/spacemacs .emacs.d &&\
export SHELL=data/data/com.termux/files/usr/bin/bash &&\
emacs