Skip to content

Instantly share code, notes, and snippets.

@Cvar1984
Created October 27, 2019 18:35
Show Gist options
  • Save Cvar1984/f1c72ef5aa66330263ec34fd4c42154d to your computer and use it in GitHub Desktop.
Save Cvar1984/f1c72ef5aa66330263ec34fd4c42154d to your computer and use it in GitHub Desktop.
if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
PS1="\[\033[0;32m\]\u@\h\[\033[0;34m\]:\w\[\033[00m\]\$ "
eval "`dircolors`"
alias ls='ls --color=auto'
alias ll='ls --color=auto -lshaF'
alias l='ls --color=auto'
alias la='ls --color=auto -a'
alias grep='grep --color=auto'
alias cls='clear'
alias fbig="find . -size +128M -type f -printf '%s %p\n'| sort -nr | head -16"
alias rdir='mkdir -p ./$(cat /dev/urandom | tr -cd 'a-z0-9' | head -c 8)/$(cat /dev/urandom | tr -cd 'a-z0-9' | head -c 4)/'
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=100000
export HISTFILESIZE=100000
shopt -s histappend
shopt -s checkwinsize
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
eval $(thefuck --alias)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment