This file contains hidden or 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
set SEGMENT_SEPARATOR '⮀' | |
set SEGMENT_BG | |
set RSTATUS | |
# Create segment of prompt | |
function prompt_segment | |
set -l bg $argv[1] | |
set -l fg $argv[2] | |
[ (count $argv) -gt 2 ]; and set -l content $argv[3..-1] |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'uri' | |
if ARGV.size != 1 | |
warn "Invalid argument" | |
exit | |
end | |
methods = [] |