Mierda fuera
This commit is contained in:
parent
f2786b9388
commit
fa81cbba7c
14
Makefile
14
Makefile
|
@ -1,17 +1,9 @@
|
|||
FILES = bash_aliases \
|
||||
bashrc \
|
||||
bash_profile \
|
||||
h2statusrc \
|
||||
i3 \
|
||||
i3status.conf \
|
||||
inputrc
|
||||
FILES = i3 \
|
||||
i3status.conf \
|
||||
|
||||
|
||||
.PHONNY: symlinks
|
||||
|
||||
symlinks: $(FILES)
|
||||
@echo Making news symlinks...
|
||||
$(foreach FILE, $(FILES), ln -fs -T $(PWD)/$(FILE) $(HOME)/.$(FILE);)
|
||||
|
||||
install: root_bashrc
|
||||
@echo Installing root files...
|
||||
ln -fs $(PWD)/root_bashrc /root/.bashrc
|
||||
|
|
24
bash_aliases
24
bash_aliases
|
@ -1,24 +0,0 @@
|
|||
alias torre='ssh drymer@torre'
|
||||
alias bittorrent='ssh werler@bittorrent'
|
||||
alias banana='ssh drymer@banana'
|
||||
|
||||
alias ipcurl='curl icanhazip.com && curl --silent http://geoiptool.com/|grep maker_country | cut -d" " -f5 | cut -d"<" -f1 | head -n1'
|
||||
alias toripcurl='torify curl icanhazip.com && torify curl --silent http://geoiptool.com/|grep maker_country | cut -d" " -f5 | cut -d"<" -f1 | head -n1'
|
||||
alias pastebinit="pastebinit"
|
||||
alias captura="scrot -d 5 'compartir .png' && pomfload compartir.png && rm compartir.png"
|
||||
alias grep="grep --color"
|
||||
|
||||
#alias emacs="env TERM=xterm-256color emacs -nw"
|
||||
#alias nano="env TERM=xterm-256color nano -nw"
|
||||
alias nano="nano -nw"
|
||||
|
||||
alias suena='echo $(mpc current | cut -d"/" -f1) - $(mpc current | cut -d"/" -f3 | cut -d'.' -f1)'
|
||||
alias khal='khal -c ~/.khal/config'
|
||||
alias ikhal='ikhal -c ~/.khal/config'
|
||||
alias yt='cd ~/Musica/; youtube-dl -x -c -o "%(title)s.%(ext)s" -f "bestaudio" --audio-format "mp3" --audio-quality 0 '
|
||||
alias sube='scrot -d 5 /tmp/mierda.jpg && torify mediacrush /tmp/mierda.jpg && rm /tmp/mierda.jpg && notify-send "Imagen subida"'
|
||||
|
||||
alias notify-send='notify-send -i terminal'
|
||||
|
||||
alias pull="torify git pull"
|
||||
alias push="torify git push"
|
|
@ -1 +0,0 @@
|
|||
source $HOME/.bashrc
|
43
bashrc
43
bashrc
|
@ -1,43 +0,0 @@
|
|||
# Set the default system $PATH:
|
||||
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
|
||||
|
||||
# I had problems with the backspace key using 'eval tset' instead of 'TERM=',
|
||||
# but you might want to try it anyway instead of the section below it. I
|
||||
# think with the right /etc/termcap it would work.
|
||||
# eval `tset -sQ "$TERM"`
|
||||
|
||||
# Set TERM to linux for unknown type or unset variable:
|
||||
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
|
||||
TERM=linux
|
||||
fi
|
||||
|
||||
|
||||
# Notify user of incoming mail. This can be overridden in the user's
|
||||
# local startup file (~/.bash.login or whatever, depending on the shell)
|
||||
if [ -x /usr/bin/biff ]; then
|
||||
biff y 2> /dev/null
|
||||
fi
|
||||
|
||||
# Append any additional sh scripts found in /etc/profile.d/:
|
||||
for profile_script in /etc/profile.d/*.sh ; do
|
||||
if [ -x $profile_script ]; then
|
||||
. $profile_script
|
||||
fi
|
||||
done
|
||||
unset profile_script
|
||||
|
||||
source ~/.bash_aliases
|
||||
|
||||
#Green Prompt
|
||||
#PS1='\[\e[0;92m\]\u\[\e[0;93m\] % \[\e[0;92m\]\h \[\e[1;93m\]\w\[\e[0;92m\]\$ '
|
||||
#Blue Prompt
|
||||
PS1='\[\e[1;94m\]\u\[\e[0m\] % \[\e[1;91m\]\h \[\e[1;93m\]\w\[\e[1;34m\] $\[\033[0m\] '
|
||||
|
||||
export EDITOR="/usr/local/bin/emacs -nw"
|
||||
export ALTERNATE_EDITOR="vim"
|
||||
export MAKEFLAGS=-j9
|
||||
|
||||
ESC="\033"
|
||||
NORMAL="\[$ESC[m\]"
|
||||
RESET="\[$ESC[${DULL};${FG_WHITE};${BG_NULL}m\]"
|
||||
|
41
inputrc
41
inputrc
|
@ -1,41 +0,0 @@
|
|||
# /etc/inputrc
|
||||
# This file configures keyboard input for programs using readline.
|
||||
# See "man 3 readline" for more examples.
|
||||
|
||||
# Configure the system bell. Options are none, visible, and audible.
|
||||
#set bell-style none
|
||||
|
||||
# Enable 8 bit input.
|
||||
set meta-flag On
|
||||
set input-meta On
|
||||
set convert-meta Off
|
||||
set output-meta On
|
||||
|
||||
# Set various nice escape sequences:
|
||||
"\eOd": backward-word
|
||||
"\eOc": forward-word
|
||||
|
||||
# for linux console
|
||||
"\e[1~": beginning-of-line
|
||||
"\e[4~": end-of-line
|
||||
"\e[5~": beginning-of-history
|
||||
"\e[6~": end-of-history
|
||||
"\e[3~": delete-char
|
||||
"\e[2~": quoted-insert
|
||||
|
||||
# for xterm
|
||||
"\eOH": beginning-of-line
|
||||
"\eOF": end-of-line
|
||||
|
||||
# for freebsd console
|
||||
"\e[H": beginning-of-line
|
||||
"\e[F": end-of-line
|
||||
|
||||
"\e[1~": beginning-of-line
|
||||
"\e[4~": end-of-line
|
||||
"\e[7~": beginning-of-line
|
||||
"\e[8~": end-of-line
|
||||
"\eOH": beginning-of-line
|
||||
"\eOF": end-of-line
|
||||
"\e[H": beginning-of-line
|
||||
"\e[F": end-of-line
|
42
root_bashrc
42
root_bashrc
|
@ -1,42 +0,0 @@
|
|||
# Set the default system $PATH:
|
||||
PATH="/sbin/:/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games"
|
||||
|
||||
# I had problems with the backspace key using 'eval tset' instead of 'TERM=',
|
||||
# but you might want to try it anyway instead of the section below it. I
|
||||
# think with the right /etc/termcap it would work.
|
||||
# eval `tset -sQ "$TERM"`
|
||||
|
||||
# Set TERM to linux for unknown type or unset variable:
|
||||
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
|
||||
TERM=linux
|
||||
fi
|
||||
|
||||
|
||||
# Notify user of incoming mail. This can be overridden in the user's
|
||||
# local startup file (~/.bash.login or whatever, depending on the shell)
|
||||
if [ -x /usr/bin/biff ]; then
|
||||
biff y 2> /dev/null
|
||||
fi
|
||||
|
||||
# Append any additional sh scripts found in /etc/profile.d/:
|
||||
for profile_script in /etc/profile.d/*.sh ; do
|
||||
if [ -x $profile_script ]; then
|
||||
. $profile_script
|
||||
fi
|
||||
done
|
||||
unset profile_script
|
||||
|
||||
#source ~/.bash_aliases
|
||||
|
||||
#Green Prompt
|
||||
#PS1='\[\e[0;92m\]\u\[\e[0;93m\] % \[\e[0;92m\]\h \[\e[1;93m\]\w\[\e[0;92m\]\$ '
|
||||
#Blue Prompt
|
||||
PS1='\[\e[1;94m\]\u\[\e[0m\] % \[\e[1;91m\]\h \[\e[1;93m\]\w\[\e[1;34m\] $\[\033[0m\] '
|
||||
|
||||
export EDITOR="/usr/local/bin/emacs -nw"
|
||||
export ALTERNATE_EDITOR="vim"
|
||||
export MAKEFLAGS=-j9
|
||||
|
||||
ESC="\033"
|
||||
NORMAL="\[$ESC[m\]"
|
||||
RESET="\[$ESC[${DULL};${FG_WHITE};${BG_NULL}m\]"
|
Loading…
Reference in New Issue