Shell: added 'lri: luarocks install' function

master
Pierre Neidhardt 2014-04-24 11:39:55 +02:00
parent ac262bcff5
commit c48a7f2591
4 changed files with 156 additions and 143 deletions

View File

@ -1,17 +1,17 @@
[default]
save_search_field= gs
tab_new= ga
allow_session_cookie_tmp= CT
allow_cookie= CC
allow_session_cookie= CS
bookmark= M
buffers= gt
cancel_download= ad
sanitize=
clear_tab= gc
only= co
close_tab= d
save_search_field=gs
tab_new=ga
allow_session_cookie_tmp=CT
allow_cookie=CC
allow_session_cookie=CS
bookmark=M
buffers=gt
cancel_download=ad
sanitize=
clear_tab=gc
only=co
close_tab=d
entry_escape=Control c
entry_confirm=Control g
entry_history_back=Control k
@ -28,157 +28,157 @@ complete_history=Control H
complete_path=Control p
complete_searchengines=Control S
complete_userscript=Control U
download= gd
download=gd
download_set_execute=Control x
command_mode= :
execute_javascript=
eval=
execute_userscript= eu
find_backward_ic= c?
find_backward= ?
find_forward_ic= c/
find_forward= /
find_next= n
find_previous= N
focus_input= gi
focus_next= J
focus_tab= T
focus_prev= K
win_hist_back= wh
tab_hist_back= th
history_back= H
win_hist_forward= wl
tab_hist_forward= tl
history_forward= L
insert_mode= i
show_keys= Sk
load_html=
load_html_tab=
lock_domain= xd
lock_uri= xu
tab_move_left= <
tab_move_right= >
tab_move= gm
command_mode=:
execute_javascript=
eval=
execute_userscript=eu
find_backward_ic=c?
find_backward=?
find_forward_ic=c/
find_forward=/
find_next=n
find_previous=N
focus_input=gi
focus_next=J
focus_tab=T
focus_prev=K
win_hist_back=wh
tab_hist_back=th
history_back=H
win_hist_forward=wl
tab_hist_forward=tl
history_forward=L
insert_mode=i
show_keys=Sk
load_html=
load_html_tab=
lock_domain=xd
lock_uri=xu
tab_move_left=<
tab_move_right=>
tab_move=gm
normal_mode=Control n
open_editor=Control e
quickmark= b
tab_quickmark= B
win_quickmark= wb
quickmark=b
tab_quickmark=B
win_quickmark=wb
start_page=Control h
web_inspector= wi
paste= pp
tab_paste= Pp
win_paste= wp
paste_primary= pP
win_paste_primary= wP
tab_paste_primary= PP
web_inspector=wi
paste=pp
tab_paste=Pp
win_paste=wp
paste_primary=pP
win_paste_primary=wP
tab_paste_primary=PP
print=Control Mod1 p
protect=Control P
quit=Control q
reload= r
reload_bypass_cache= R
reload_userscripts=
save= sf
save_session= ZZ
save_named_session= gZZ
save_quickmark= m
scroll_down= j
scroll_right= l
scroll_left= h
reload=r
reload_bypass_cache=R
reload_userscripts=
save=sf
save_session=ZZ
save_named_session=gZZ
save_quickmark=m
scroll_down=j
scroll_right=l
scroll_left=h
scroll_page_down=Control f
scroll_page_up=Control b
scroll_halfpage_down=Control d
scroll_halfpage_up=Control u
scroll_bottom= G
scroll_top= gg
scroll_up= k
local_set=
set=
set_key= sk
set_local_setting= sl
set_setting= ss
show_settings= Ss
show_bookmarks= Sb
show_downloads= Sd
show_history= Sh
show_quickmarks= Sq
scroll_bottom=G
scroll_top=gg
scroll_up=k
local_set=
set=
set_key=sk
set_local_setting=sl
set_setting=ss
show_settings=Ss
show_bookmarks=Sb
show_downloads=Sd
show_history=Sh
show_quickmarks=Sq
stop_loading=Control s
toggle_local_setting=
toggle_setting=
toggle_local_setting=
toggle_setting=
toggle_tab=Control @Tab@
toggle_plugins_host_tmp= pth
toggle_scripts_host= tsh
toggle_scripts_host_tmp= tth
toggle_scripts_uri= tsu
toggle_plugins_uri_tmp= ptu
toggle_scripts_uri_tmp= ttu
fullscreen= @F11@
toggle_hidden_files= g.
toggle_plugins_host= ph
toggle_plugins_uri= pu
presentation_mode= @F12@
toggle_plugins_host_tmp=pth
toggle_scripts_host=tsh
toggle_scripts_host_tmp=tth
toggle_scripts_uri=tsu
toggle_plugins_uri_tmp=ptu
toggle_scripts_uri_tmp=ttu
fullscreen=@F11@
toggle_hidden_files=g.
toggle_plugins_host=ph
toggle_plugins_uri=pu
presentation_mode=@F12@
proxy=Control p
visible= xv
toggle_bars= xx
toggle_statusbar= xb
toggle_tabbar= xt
undo= u
view_source= gf
dump=
yank_title= yt
yank_title_primary= yT
yank= yy
yank_primary= yY
zoom= =
zoom_in= +
zoom_out= -
hints_background= ;b
hints_images_background= .i
hints_url_background= .o
backopen_url= xO
backopen= xo
bookmarks= gb
hints= f
hints_clipboard= ;y
hints_download= ;d
hints_editable= ;e
hints_images= ;i
hints_links= ;;
hints_primary= ;Y
hints_rapid= ;r
hints_url= ;o
new_tab= V
new_win= W
open_url= go
open= o
hints_tab= F
hints_images_tab= ;I
hints_url_tab= ;O
tab_bookmarks= gB
tabopen_url= gO
tabopen= O
hints_win= wf
hints_rapid_win= ;R
win_bookmarks= wB
winopen_url= wO
winopen= wo
tabdo=
reload_bookmarks=
reload_quickmarks=
print_preview=
visible=xv
toggle_bars=xx
toggle_statusbar=xb
toggle_tabbar=xt
undo=u
view_source=gf
dump=
yank_title=yt
yank_title_primary=yT
yank=yy
yank_primary=yY
zoom==
zoom_in=+
zoom_out=-
hints_background=;b
hints_images_background=.i
hints_url_background=.o
backopen_url=xO
backopen=xo
bookmarks=gb
hints=f
hints_clipboard=;y
hints_download=;d
hints_editable=;e
hints_images=;i
hints_links=;;
hints_primary=;Y
hints_rapid=;r
hints_url=;o
new_tab=V
new_win=W
open_url=go
open=o
hints_tab=F
hints_images_tab=;I
hints_url_tab=;O
tab_bookmarks=gB
tabopen_url=gO
tabopen=O
hints_win=wf
hints_rapid_win=;R
win_bookmarks=wB
winopen_url=wO
winopen=wo
tabdo=
reload_bookmarks=
reload_quickmarks=
print_preview=
visual_mode= v
visual_mode=v
adblock_reload_rules=
adblock_reload_rules=
tabgrep=
jump= '
mark= `
repeat= .
tabgrep=
jump='
mark=`
repeat=.
entry_delete_active=Control d
hints_selector=
hints_selector=
[1]
save_search_field=gs

View File

@ -163,3 +163,4 @@ block-insecure-content=false
enable-ipc=true
adblocker-element-hider=true

1
.scripts/emw Symbolic link
View File

@ -0,0 +1 @@
em

View File

@ -341,3 +341,14 @@ if [ -d "/usr/local/texlive" ]; then
sudo sh -c 'umask 022 && tlmgr remove $0 $@' "$@"
}
fi
##==============================================================================
## Luarocks functions
##==============================================================================
if command -v luarocks >/dev/null 2>&1; then
lri ()
{
sudo sh -c 'umask 022 && luarocks install $0 $@' "$@"
}
fi