mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 19:22:46 +01:00
Merge branch 'master' of github.com:Mkaysi/shell-things
This commit is contained in:
commit
56150ab285
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
# It seems that running install.sh causes <filename>~ files in this git repo. They are lockfiles.
|
|
||||||
*~
|
*~
|
||||||
*.swp
|
*.swp
|
||||||
pgprules.xml
|
pgprules.xml
|
||||||
|
16
bashrc
16
bashrc
@ -6,6 +6,9 @@
|
|||||||
# Aliases RJ706I
|
# Aliases RJ706I
|
||||||
# Functions ZGC5QQ
|
# Functions ZGC5QQ
|
||||||
|
|
||||||
|
# $uname should tell which OS is used.
|
||||||
|
$uname=`uname`
|
||||||
|
|
||||||
# For Mac OS X + SSH sessions. bashrc must be sourced by hand at least once.
|
# For Mac OS X + SSH sessions. bashrc must be sourced by hand at least once.
|
||||||
echo "if [ -f ~/.bashrc ]; then
|
echo "if [ -f ~/.bashrc ]; then
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
@ -136,12 +139,6 @@ hostname && uptime
|
|||||||
|
|
||||||
# Source before mentioned locations if they exist.
|
# Source before mentioned locations if they exist.
|
||||||
|
|
||||||
# Don't check for mail!
|
|
||||||
unset MAILCHECK
|
|
||||||
|
|
||||||
# Enable core files.
|
|
||||||
ulimit -c unlimited
|
|
||||||
|
|
||||||
# .environment
|
# .environment
|
||||||
if [ -f ~/.environment ]; then
|
if [ -f ~/.environment ]; then
|
||||||
source ~/.environment
|
source ~/.environment
|
||||||
@ -152,6 +149,13 @@ if [ -f ~/.bash_environment ]; then
|
|||||||
source ~/.bash_environment
|
source ~/.bash_environment
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Don't check for mail!
|
||||||
|
unset MAILCHECK
|
||||||
|
|
||||||
|
# Enable core files.
|
||||||
|
ulimit -c unlimited
|
||||||
|
|
||||||
|
|
||||||
# More colours :D
|
# More colours :D
|
||||||
if [[ $TERM == 'xterm' ]]; then
|
if [[ $TERM == 'xterm' ]]; then
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
|
11
recommends
11
recommends
@ -1,13 +1,18 @@
|
|||||||
|
uname=`uname`
|
||||||
|
|
||||||
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "shell-things contains youtube-dl alias for automatically setting video title as name, so you might want to install youtube-dl."; }
|
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "shell-things contains youtube-dl alias for automatically setting video title as name, so you might want to install youtube-dl."; }
|
||||||
|
|
||||||
command -v \gtk-redshift >/dev/null 2>&1 || { echo >&2 "xsessionrc tries to start gtk-redshift automatically on boot, so you might want to install it (or redshift in some distributions)."; }
|
if [ $uname = "linux" ]
|
||||||
|
then
|
||||||
|
command -v \gtk-redshift >/dev/null 2>&1 || { echo >&2 "xsessionrc tries to start gtk-redshift automatically on boot, so you might want to install it (or redshift in some distributions)."; }
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f /usr/share/doc/gnupg-curl/copyright ]
|
if [ ! -f /usr/share/doc/gnupg-curl/copyright ]
|
||||||
then
|
then
|
||||||
echo "You might want to install gnupg-curl. It allows you to use shortened URLs with gpg1."
|
echo "You might want to install gnupg-curl. It allows you to use shortened URLs with gpg1." && echo "If you aren't on Linux, you can ignore this."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /usr/share/doc/popularity-contest/copyright ]
|
if [ ! -f /usr/share/doc/popularity-contest/copyright ]
|
||||||
then
|
then
|
||||||
echo "You might want to install popularity-contest. See http://popcon.debian.org/"
|
echo "You might want to install popularity-contest. See http://popcon.debian.org/" && echo "If you aren't on Linux you can ignore this."
|
||||||
fi
|
fi
|
||||||
|
10
vimrc
10
vimrc
@ -81,9 +81,6 @@ runtime macros/matchit.vim
|
|||||||
set wildmenu
|
set wildmenu
|
||||||
set wildmode=list:longest
|
set wildmode=list:longest
|
||||||
|
|
||||||
" Set terminal title (This probably helps with tmux)
|
|
||||||
set title
|
|
||||||
|
|
||||||
" Flash, do not beep!
|
" Flash, do not beep!
|
||||||
set visualbell
|
set visualbell
|
||||||
" End of copied from http://items.sjbach.com/319/configuring-vim-right
|
" End of copied from http://items.sjbach.com/319/configuring-vim-right
|
||||||
@ -92,3 +89,10 @@ set visualbell
|
|||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
set background=light
|
set background=light
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if has("unix")
|
||||||
|
let s:uname = system("uname")
|
||||||
|
if s:uname == "Darwin\n"
|
||||||
|
set background=light
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
16
zshrc
16
zshrc
@ -6,6 +6,9 @@
|
|||||||
# Aliases RJ706I
|
# Aliases RJ706I
|
||||||
# Functions ZGC5QQ
|
# Functions ZGC5QQ
|
||||||
|
|
||||||
|
# uname should be readable in $uname
|
||||||
|
uname=`uname`
|
||||||
|
|
||||||
##### Defaults etc... M0TZLS #####
|
##### Defaults etc... M0TZLS #####
|
||||||
|
|
||||||
# This is based on zshrc which came with Debian (Third option in wizard for new users.)
|
# This is based on zshrc which came with Debian (Third option in wizard for new users.)
|
||||||
@ -58,12 +61,6 @@ hostname && uptime
|
|||||||
|
|
||||||
# Source before mentioned locations if they exist.
|
# Source before mentioned locations if they exist.
|
||||||
|
|
||||||
# Don't check for mail!
|
|
||||||
unset MAILCHECK
|
|
||||||
|
|
||||||
# Enable core files
|
|
||||||
ulimit -c unlimited
|
|
||||||
|
|
||||||
# .environment
|
# .environment
|
||||||
if [ -f ~/.environment ]; then
|
if [ -f ~/.environment ]; then
|
||||||
source ~/.environment
|
source ~/.environment
|
||||||
@ -79,6 +76,13 @@ if [ -f ~/.zshenv ]; then
|
|||||||
source ~/.zshenv
|
source ~/.zshenv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Don't check for mail!
|
||||||
|
unset MAILCHECK
|
||||||
|
|
||||||
|
# Enable core files.
|
||||||
|
ulimit -c unlimited
|
||||||
|
|
||||||
|
|
||||||
#More colours :D
|
#More colours :D
|
||||||
if [[ $TERM == 'xterm' ]]; then
|
if [[ $TERM == 'xterm' ]]; then
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
|
Loading…
Reference in New Issue
Block a user