Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aliases/general: Kreyrenizing #3

Draft
wants to merge 6 commits into
base: kreyren
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions aliases/general.aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@ alias show_options='shopt' # Show_options: display bash options
alias fix_stty='stty sane' # fix_stty: Restore terminal settings when screwed up
alias cic='set completion-ignore-case On' # cic: Make tab-completion case-insensitive
alias src='source ~/.bashrc' # src: Reload .bashrc file

# Outputs List of Loadable Modules (llm) for current kernel
alias llm="find /lib/modules/$(uname -r) -type f -name '*.ko*'"
# Used for piping to remote pastebin from cmdline to generate a url
[ -x "$(command -v curl)" ] && ix() { curl -n -F 'f:1=<-' http://ix.io ; }
# Used for piping to clipboard
[ -x "$(command -v xclip)" ] && alias xcopy="xclip -se c"