mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 05:09:25 +00:00
Add comments into each of the function files to make them easier to find
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function deb-clone {
|
||||
|
||||
local clone_script="${0}.sh"
|
||||
local package_list=$(
|
||||
perl \
|
||||
@ -23,3 +25,5 @@ rm "$clone_script"
|
||||
print '#!/bin/sh\n' > "$clone_script"
|
||||
print "aptitude install ${package_list}\n" >> "$clone_script"
|
||||
chmod +x "$clone_script"
|
||||
|
||||
# }
|
||||
|
@ -7,6 +7,8 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function deb-history {
|
||||
|
||||
case "$1" in
|
||||
(install)
|
||||
zgrep --no-filename 'install ' $(ls -rt /var/log/dpkg*)
|
||||
@ -34,3 +36,5 @@ Commands:
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
# }
|
||||
|
@ -6,9 +6,13 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function deb-kbuild {
|
||||
|
||||
make-kpkg clean
|
||||
MAKEFLAGS='' time fakeroot make-kpkg \
|
||||
--append-to-version '-custom' \
|
||||
--revision "$(date +"%Y%m%d")" \
|
||||
kernel_image \
|
||||
kernel_headers
|
||||
|
||||
# }
|
||||
|
Reference in New Issue
Block a user