From 67a4addcd06df2cb33e38d99552f658504822553 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 25 Jul 2021 15:40:18 +0100 Subject: (Shell|Scripts|Emacs)~minor edits +psearch function to search pacman with less (I use this all the time, just makes it easier to do in one go) ~speed script to use a slightly larger file so user can get a better estimate of dl speed ~ada-mode slightly better comments --- Emacs/.config/emacs/ada-mode.el | 2 +- Scripts/.local/scripts/speed | 2 +- Shell/.zshrc | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Emacs/.config/emacs/ada-mode.el b/Emacs/.config/emacs/ada-mode.el index 764a121..2dc40d7 100644 --- a/Emacs/.config/emacs/ada-mode.el +++ b/Emacs/.config/emacs/ada-mode.el @@ -27,7 +27,7 @@ ;; I feel ada-modeā„¢ (the official one) tries to do too many things at ;; once, so I want something that does the basics. Also want to take -;; this opportunity to make a new mode and what facilities Emacs +;; this opportunity to make a new mode and see what facilities Emacs ;; provides for it. ;;; Code: diff --git a/Scripts/.local/scripts/speed b/Scripts/.local/scripts/speed index bfd07fe..21029a1 100755 --- a/Scripts/.local/scripts/speed +++ b/Scripts/.local/scripts/speed @@ -1,2 +1,2 @@ #!/bin/bash -wget -nv --show-progress -O /dev/null "https://git.aryadevchavali.com/?p=Text.git;a=blob_plain;f=PDFs/Racket.pdf;hb=HEAD" +wget -nv --show-progress -O /dev/null "https://git.aryadevchavali.com/?p=Text.git;a=blob_plain;f=PDFs/Algorithms+2011.pdf;hb=HEAD" diff --git a/Shell/.zshrc b/Shell/.zshrc index 8d17113..117af9a 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -27,6 +27,10 @@ ef () { sedit $(fzf) } +psearch () { + pacman -Ss $1 | less +} + ### Git aliases alias gs="git status" alias gd="git diff" -- cgit v1.2.3-13-gbd6f