-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mdless, texdoc, bundle, rake, ri, npm, neofetch, rlwrap, git-describe, pod*, luacheck, progress, ar, tar In git log, add a space to avoid perl error of empty code Update journalctl
- Loading branch information
Showing
31 changed files
with
90 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)ar: | ||
ar tv $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)bundle:values | ||
bundle help $word | bat --color=always -plhelp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# :fzf-tab:complete:(\\|*/|):gcc:argument-rest | ||
gcc -o- -S $realpath | bat --color=always -plasm | ||
# :fzf-tab:complete:(\\|*/|)gcc:* | ||
case $group in | ||
'input file') | ||
gcc -o- -S $realpath | bat --color=always -plasm | ||
;; | ||
help) | ||
gcc --help=$word | bat --color=always -plhelp | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:git-describe:argument-rest | ||
git describe $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# :fzf-tab:complete:git-log:argument-1 | ||
git log --color=always $word | | ||
perl -pe$(jq -j '.[] | "s=\(.code)=\(.emoji)=g;"' ~/.gitmoji/gitmojis.json) | ||
perl -pe' '$(jq -j '.[] | "s=\(.code)=\(.emoji)=g;"' ~/.gitmoji/gitmojis.json) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)luacheck: | ||
luacheck --codes $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)mdcat: | ||
# :fzf-tab:complete:(\\|*/|)md(cat|less):argument-rest | ||
[[ -f $realpath ]] && mdcat $realpath || less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)neofetch:argument-rest | ||
neofetch $word | bat --color=always -plyaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)nix-build:option-A-1 | ||
nix-build --no-out-link '<nixpkgs>' -A $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)nm:argument-rest | ||
nm $realpath | ||
nm --demangle $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)npm: | ||
npm help -l $word | bat --color=always -plmarkdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)objdump:argument-rest | ||
objdump -d $realpath | ||
objdump -dhl --disassembler-color=extended-color --visualize-jumps=extended-color $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)pod2html: | ||
[[ -f $realpath ]] && | ||
pod2html $realpath | bat --color=always -plhtml || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# :fzf-tab:complete:(\\|*/|)pod2latex: | ||
[[ -f $realpath ]] && | ||
pod2latex -out /tmp/pod2latex $realpath && | ||
bat --color=always /tmp/pod2latex.tex || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)pod2man: | ||
[[ -f $realpath ]] && | ||
pod2man $realpath | bat --color=always -plnroff || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)pod2texi: | ||
[[ -f $realpath ]] && | ||
pod2texi $realpath || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)pod2text: | ||
[[ -f $realpath ]] && | ||
pod2text $realpath | bat --color=always -plman || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)pod2usage: | ||
[[ -f $realpath ]] && | ||
pod2usage $realpath | bat --color=always -plhelp || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)podchecker: | ||
[[ -f $realpath ]] && | ||
podchecker $realpath || | ||
less $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# :fzf-tab:complete:(\\|*/|)progress:* | ||
case $group in | ||
'external command') | ||
progress -c $word | ||
;; | ||
'process ID') | ||
progress -p $word | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)rake:argument-rest | ||
rake -Bn $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)readelf:argument-rest | ||
readelf -a $realpath | ||
readelf --demangle -a $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)(ri|gem-rdoc):argument-rest | ||
ri $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)rlwrap:argument-1 | ||
less =$word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)size:argument-rest | ||
size $realpath | ||
# :fzf-tab:complete:(\\|*/|)size: | ||
size -t $realpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)tar: | ||
tar tvaf $word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# :fzf-tab:complete:(\\|*/|)texdoc:values | ||
yes | texdoc -l $word 2>/dev/null | head -n-1 |