Skip to content

Instantly share code, notes, and snippets.

View floam's full-sized avatar

Aaron Gyes floam

  • Mutable
  • Las Vegas, NV
  • 01:49 (UTC -07:00)
  • X @floam
View GitHub Profile
@floam
floam / keybase.md
Created April 1, 2020 20:17
keybase proof

Keybase proof

I hereby claim:

  • I am floam on github.
  • I am floam (https://keybase.io/floam) on keybase.
  • I have a public key ASAVfguAnI_dIl4o7m1xg_gwM1uN6DFmhQF8D7jlSJVFdwo

To claim this, I am signing this object:

.. _cmd-abbr:
abbr - manage fish abbreviations
================================
Synopsis
--------
``abbr`` **-a**, **--add** [*-Gu*] *WORD* *EXPANSION*
@floam
floam / rule.fish
Last active January 11, 2019 14:17 — forked from ttscoff/rule.fish
rule and rulem bash functions (http://brettterpstra.com/2015/02/20/shell-trick-printf-rules/) in fish
# rule and rulem bash functions in fish script
# Jay Berringer did this conversion and then Aaron Gyes fixed it up.
# a way to pad with something other than spaces... by replacing all spaces
# with another character
# based on this bash/printf technique: http://brettterpstra.com/2015/02/20/shell-trick-printf-rules/
# rule: Print a ruler in terminal window
#
#!/bin/sh
#
# apropos -- search the whatis database for keywords.
# whatis -- idem, but match only commands (as whole words).
#
# Copyright (c) 1990, 1991, John W. Eaton.
# Copyright (c) 1994-1999, Andries E. Brouwer.
#
# You may distribute under the terms of the GNU General Public
# License as specified in the README file that comes with the man
# chown
# Autogenerated from man page /usr/share/man/man8/chown.8
complete -c chown -s f --description 'Don\'t report any failure to change file owner or group, nor modify the exit s…'
complete -c chown -s H --description 'If the R option is specified, symbolic links on the command line are followed.'
complete -c chown -s h --description 'If the file is a symbolic link, change the user ID and/or the group ID of the…'
complete -c chown -s L --description 'If the R option is specified, all symbolic links are followed.'
complete -c chown -s P --description 'If the R option is specified, no symbolic links are followed.'
complete -c chown -s R --description 'Change the user ID and/or the group ID for the file hierarchies rooted in the…'
complete -c chown -s v --description 'Cause chown chown to be verbose, showing files as the owner is modified.'
# chmod
# Autogenerated from man page /usr/share/man/man1/chmod.1
complete -c chmod -s f --description 'Do not display a diagnostic message if chmod chmod could not modify the mode …'
complete -c chmod -s H --description 'If the R option is specified, symbolic links on the command line are followed.'
complete -c chmod -s h --description 'If the file is a symbolic link, change the mode of the link itself rather tha…'
complete -c chmod -s L --description 'If the R option is specified, all symbolic links are followed.'
complete -c chmod -s P --description 'If the R option is specified, no symbolic links are followed.'
complete -c chmod -s R --description 'Change the modes of the file hierarchies rooted in the files instead of just …'
complete -c chmod -s v --description 'Cause chmod chmod to be verbose, showing filenames as the mode is modified.'
complete -c chmod -s a --description 'The -a mode is used to delete ACL entries.'
# ls
# Autogenerated from man page /usr/share/man/man1/ls.1
complete -c ls -s @ --description 'Display extended attribute keys and sizes in long l output.'
complete -c ls -s 1 --description '(The numeric digit one . ) Force output to be one entry per line.'
complete -c ls -s A --description 'List all entries except for \\&. and . Always set for the super-user.'
complete -c ls -s a --description 'Include directory entries whose names begin with a dot \\&.'
complete -c ls -s B --description 'Force printing of non-printable characters (as defined by ctype 3 and current…'
complete -c ls -s b --description 'As B, but use C escape codes whenever possible.'
complete -c ls -s C --description 'Force multi-column output; this is the default when output is to a terminal.'
complete -c ls -s c --description 'Use time when file status was last changed for sorting t or long printing l.'
@floam
floam / terminfo.st
Created September 4, 2016 23:26
terminfo.st
#### SIMPLETERM
# st.suckless.org
# st-0.4.1
#
# This version uses a table which supports a single modifier (a subset of
# xterm's keys, using the same scheme). Because it supports only a single
# modifier in this table, function keys f36-f48 are normally unavailable
# because they are assigned to modifier-4.
#
# The program assigns TERM to match the program name (the upstream source says
darwinup(1) BSD General Commands Manual darwinup(1)
NAME
darwinup -- Install, uninstall, and manage roots
SYNOPSIS
darwinup [-dfnv] [-p path] subcommand [arguments ...]
DESCRIPTION
darwinup allows you to manage roots, or archives, of files that replace parts of your system. This is useful for installing a new version of a library or tool on your
@floam
floam / bashrc_Apple_Terminal
Last active May 22, 2024 15:26
/etc/bashrc_Apple_Terminal
# bash support for Terminal.
# Working Directory
#
# Tell the terminal about the current working directory at each prompt.
if [ -z "$INSIDE_EMACS" ]; then
update_terminal_cwd() {
# Identify the directory using a "file:" scheme URL, including