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

View File

@ -163,3 +163,4 @@ block-insecure-content=false
enable-ipc=true enable-ipc=true
adblocker-element-hider=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 $@' "$@" sudo sh -c 'umask 022 && tlmgr remove $0 $@' "$@"
} }
fi fi
##==============================================================================
## Luarocks functions
##==============================================================================
if command -v luarocks >/dev/null 2>&1; then
lri ()
{
sudo sh -c 'umask 022 && luarocks install $0 $@' "$@"
}
fi