11 Commits

Author SHA1 Message Date
Igor Murzov
72207276a5 slapt-src: Handle --config=FILE option properly
This is a followup to commit 3a65be4a18.
2014-06-06 01:28:47 +04:00
Igor Murzov
505481c8cc sbopkg, slapt-{get,src}: expand tilde in config file name
This fixes following [[ -r "$config" ]] when file name begins with ~.
2014-06-06 01:28:46 +04:00
Igor Murzov
70e52c8a1f slapt-{get,src}: Fix issue with sed not being able to handle some characters
# LC_ALL=C slapt-get --search "^moo" | sed -ne "/^moo/{s/ .*$//;p}"
 moos-project-viewer-2.8.1-x86_64-1sl [inst=no]: moos-project-viewer - Free Viewer for Microsoft®

 # LC_ALL=C slapt-get --search "^moo" | LC_ALL=C sed -ne "/^moo/{s/ .*$//;p}"
 moos-project-viewer-2.8.1-x86_64-1sl
2014-06-05 02:04:25 +04:00
Igor Murzov
3a65be4a18 slapt-src: split options from their arguments 2014-06-05 02:04:24 +04:00
Ville Skyttä
d99c2203b9 Clean up/compact various globs. 2013-05-09 13:42:32 +03:00
Igor Murzov
33883145af sbopkg, slackpkg, slapt-{get,src}: Use shorter form of the check if file exists.
Also add information about corresponding man pages.
2012-01-13 00:20:45 +04:00
Igor Murzov
2e859f1a6c Cleanups: Be consistent, use $( foo ) instead of $(foo).
This partially reverts f0283e1c1b64202bb1adb9f44eac6fdfd80edece
2011-11-20 23:46:06 +03:00
Igor Murzov
f0283e1c1b Cleanups: Make code more compact.
Drop useless spaces, backslashes, return codes, unused arguments etc.
2011-11-20 17:10:58 +03:00
Ville Skyttä
3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
Ville Skyttä
156656c16d Split/rename many completions into per-command files. 2011-10-12 23:01:10 +03:00