Command | Description |
---|---|
HISTSIZE | Commands saved in memory number (default: 500) |
HISTFILESIZE | Commands saved in history file (default: 500) |
HISTCONTROL | erasedups: erase previous duplicates |
shopt -s histappend | History additions are appended rather than overwritten |
history -a | Adds to history immediately?! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bash-configuration for user | |
# Check for an interactive session | |
[ -z "$PS1" ] && return | |
## Settings ## | |
set_prompt_style () { # Custom prompt | |
local bldpur='\e[1;35m' # Purple | |
local bldblu='\e[1;34m' # Blue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# (Ar)ch (pa)ckages - generic package tasks wrapper script | |
# Required programs | |
req_prgs=(pacaur sudo) | |
for prog in ${req_prgs[@]}; do | |
if ! hash "$prog" 2>&- ; then | |
echo >&2 ""${0##*/}": requires program: "$prog"" | |
error=y ;fi ; done | |
[ "$error" = y ] && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colorscheme jellybeans | |
" Jellybeans colorscheme edits (not working) | |
"let g:jellybeans_overrides = { | |
"\ 'Normal': { 'ctermbg': '242' }, | |
"\ 'CursorLine': { 'ctermbg': '238' }, | |
"\} | |
highlight Normal ctermbg=323232 | |
highlight Normal ctermbg=303030 | |
highlight CursorLine ctermbg=238 | |
highlight Visual ctermbg=240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (ge)ntoo (pa)ckages - A generic, package tasks script for Gentoo Linux | |
# Required programs | |
req_prgs=(emerge euse sudo) | |
for prog in ${req_prgs[@]}; do | |
if ! hash "$prog" 2>&- ; then | |
echo >&2 ""${0##*/}": requires program: "$prog"" | |
error=y ;fi ; done | |
[ "$error" = y ] && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (ge)ntoo (pa)ckages - A generic, package tasks script for Gentoo Linux | |
# Required programs | |
req_prgs=(emerge euse sudo) | |
for prog in ${req_prgs[@]}; do | |
if ! hash "$prog" 2>&- ; then | |
echo >&2 ""${0##*/}": requires program: "$prog"" | |
error=y ;fi ; done | |
[ "$error" = y ] && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (ge)ntoo (pa)ckages - A generic, package tasks script for Gentoo Linux | |
# Required programs | |
req_prgs=(emerge euse sudo) | |
for prog in ${req_prgs[@]}; do | |
if ! hash "$prog" 2>&- ; then | |
echo >&2 ""${0##*/}": requires program: "$prog"" | |
error=y ;fi ; done | |
[ "$error" = y ] && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# A curl general download wrapper | |
# curl alias for: | |
# -l : redirect automatically | |
# -O : output filename is remote name | |
# -# : progress bar | |
# -w : (--write-out) print filename | |
# -A : user agent | |
# : resume difficult (wget -c, better): http://tinyurl.com/7umwyl3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# A curl general download wrapper | |
# curl alias for: | |
# -l : redirect automatically | |
# -O : output filename is remote name | |
# -# : progress bar | |
# -w : (--write-out) print filename | |
# -A : user agent | |
# : resume difficult (wget -c, better): http://tinyurl.com/7umwyl3 |
Command | Descripttion |
---|---|
HISTSIZE | Commands saved in memory number (default: 500) |
HISTFILESIZE | Commands saved in history file (default: 500) |
HISTCONTROL | erasedups: erase previous duplicates |
shopt -s histappend | History additions are appended rather than overwritten |
history -a | Adds to history immediately?! |
OlderNewer