Emacs: new switch snippet.

master
Ambrevar 2012-08-07 14:37:28 +01:00
parent 301535ce72
commit 636e810d41
4 changed files with 19 additions and 2 deletions

View File

@ -170,6 +170,7 @@ trash-cli
tree tree
unrar unrar
unzip unzip
upx
urxvt-clipboard urxvt-clipboard
urxvt-keyboard-select urxvt-keyboard-select
usbutils usbutils

View File

@ -500,6 +500,7 @@ tzdata
udisks udisks
unrar unrar
unzip unzip
upx
usbutils usbutils
util-linux util-linux
v4l-utils v4l-utils

View File

@ -0,0 +1,14 @@
#name : switch (...) { ... }
# --
switch ($1)
{
case $2:
{
$0
break;
}
default:
{
break;
}
}

5
README
View File

@ -1,7 +1,7 @@
################################################################################ ################################################################################
# Unix Home Configuration # # Unix Home Configuration #
# Author: Ambrevar # # Author: Ambrevar #
# Date: 2012-07-20 # # Date: 2012-08-07 #
################################################################################ ################################################################################
Synopsis Synopsis
@ -145,7 +145,8 @@ is not running.
Shell: some custom functions would need auto-completion. Shell: some custom functions would need auto-completion.
Zathura: app will hang forever sometimes (document being regenerated). Zathura: app will hang forever sometimes (when document is being regenerated, or
when launched from Ranger).
################################################################################ ################################################################################
Complete applist Complete applist