Some bash and all
This commit is contained in:
parent
c09c309ae7
commit
91d6e7e218
6 changed files with 25 additions and 1 deletions
|
@ -111,7 +111,7 @@ readpw(Display *dpy, char *pws)
|
||||||
|
|
||||||
switch(ksym) {
|
switch(ksym) {
|
||||||
case XK_Return:
|
case XK_Return:
|
||||||
passwd[len] = 0;
|
passwd[len] = '\0';
|
||||||
running = !!strcmp(passwd, pws);
|
running = !!strcmp(passwd, pws);
|
||||||
if(running)
|
if(running)
|
||||||
XBell(dpy, 100);
|
XBell(dpy, 100);
|
||||||
|
|
7
bashrc
7
bashrc
|
@ -146,6 +146,7 @@ alias shm='cd /dev/shm'
|
||||||
alias ip6='ip -6'
|
alias ip6='ip -6'
|
||||||
alias disk-usage-analyser='baobab'
|
alias disk-usage-analyser='baobab'
|
||||||
alias o='octave'
|
alias o='octave'
|
||||||
|
alias R='R --quiet'
|
||||||
alias cdu='cdu -idh'
|
alias cdu='cdu -idh'
|
||||||
alias dus='du -sh * | sort -h'
|
alias dus='du -sh * | sort -h'
|
||||||
alias im='profanity'
|
alias im='profanity'
|
||||||
|
@ -156,6 +157,12 @@ alias im='profanity'
|
||||||
## FONCTIONS ##
|
## FONCTIONS ##
|
||||||
###############
|
###############
|
||||||
# {{{
|
# {{{
|
||||||
|
function fuck {
|
||||||
|
shift;
|
||||||
|
killall -9 "$1"
|
||||||
|
echo "fucking $1" killed
|
||||||
|
}
|
||||||
|
|
||||||
function cd #{{{
|
function cd #{{{
|
||||||
{
|
{
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
|
|
|
@ -124,3 +124,6 @@ set date_format="%y-%m-%d %T"
|
||||||
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
|
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
|
||||||
|
|
||||||
set sleep_time=0
|
set sleep_time=0
|
||||||
|
|
||||||
|
#set mime_forward=yes
|
||||||
|
#set mime_forward_rest=yes
|
||||||
|
|
|
@ -80,6 +80,7 @@ SED=/bin/sed
|
||||||
* ^Subject:.*(F|f)inance.*
|
* ^Subject:.*(F|f)inance.*
|
||||||
$SPAMBOX
|
$SPAMBOX
|
||||||
|
|
||||||
|
|
||||||
#I don't need-it :D
|
#I don't need-it :D
|
||||||
:0
|
:0
|
||||||
* ^From:.*(Viiagra|Viaggra|Viagrra|Viagra).*
|
* ^From:.*(Viiagra|Viaggra|Viagrra|Viagra).*
|
||||||
|
@ -127,6 +128,13 @@ SED=/bin/sed
|
||||||
* spill
|
* spill
|
||||||
* oil
|
* oil
|
||||||
$SPAMBOX
|
$SPAMBOX
|
||||||
|
:0 B
|
||||||
|
* oil
|
||||||
|
* painting
|
||||||
|
* (photo|image)
|
||||||
|
* qq.com
|
||||||
|
* frank
|
||||||
|
$SPAMBOX
|
||||||
|
|
||||||
#out russian dating
|
#out russian dating
|
||||||
:0 B
|
:0 B
|
||||||
|
|
|
@ -39,3 +39,7 @@ Multinôme
|
||||||
microcontroleurs
|
microcontroleurs
|
||||||
séquentiellement
|
séquentiellement
|
||||||
encapsule
|
encapsule
|
||||||
|
désinscrire
|
||||||
|
L'État
|
||||||
|
lémanique
|
||||||
|
OpenStreetMap
|
||||||
|
|
|
@ -59,6 +59,8 @@ filetype plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
|
|
||||||
noremap <S-Space> <Esc>
|
noremap <S-Space> <Esc>
|
||||||
|
imap kj <ESC>
|
||||||
|
imap jk <ESC>
|
||||||
|
|
||||||
noremap j gj
|
noremap j gj
|
||||||
noremap k gk
|
noremap k gk
|
||||||
|
|
Loading…
Reference in a new issue