Commit f8b741bd authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[FEATURE] Update templates to current ubuntu defaults

parent 96fc4235
......@@ -3,14 +3,11 @@
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
[ -z "$PS1" ] && return
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
# append to the history file, don't overwrite it
shopt -s histappend
......@@ -23,15 +20,11 @@ HISTFILESIZE=2000
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
......@@ -85,13 +78,10 @@ if [ -x /usr/bin/dircolors ]; then
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias ll='ls -lAh'
alias l='ls -lFah'
export EDITOR=vim
# Alias definitions.
# You may want to put all your additions into a separate file like
......@@ -105,17 +95,12 @@ fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
export EDITOR=vim
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# vless - colored less
alias vless="vim -u ~/.vimrc.less -"
\ No newline at end of file
alias vless="vim -u ~/.vimrc.less -"
[alias] tree = log --graph --decorate --pretty=oneline --abbrev-commit
[user]
name = <%= @author %>
email = <%= @authorEmail %>
name = <%= @author %>
email = <%= @authorEmail %>
[color]
ui = true
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
diff = auto
status = auto
branch = auto
interactive = auto
[pager]
status = yes
status = yes
[branch]
autosetuprebase = remote
autosetuprebase = remote
[push]
default = matching
\ No newline at end of file
default = matching
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment