Skip to content

Commit

Permalink
Add package configuration and alias for Buku
Browse files Browse the repository at this point in the history
Buku (1) provides the `BUKU_COLORS` environment variable to allow users
to define a custom color scheme. It follows the same principle like the
`LSCOLORS` environment variables of the BSD `ls` command.
The five letters represent the colors in ordered form of

* index
* title
* url
* description/comment/note
* tag

See the GitHub repository wiki page about how to customize colors (2)
for details about available letters and their meaning.

Next to this a shortcut alias `bk` should be added to simplify the usage
commands.

References:

  (1) https://github.com/jarun/Buku
  (2) https://github.com/jarun/Buku/wiki/Customize-colors

Closes GH-128
  • Loading branch information
arcticicestudio committed Sep 10, 2018
1 parent 0cdb1dd commit 68e0289
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions snowblocks/bash/config/pkg/buku
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# Copyright (c) 2016-present Arctic Ice Studio <[email protected]>
# Copyright (c) 2016-present Sven Greb <[email protected]>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# https://github.com/jarun/Buku
# https://github.com/jarun/Buku/wiki/Customize-colors

# Defines custom colors for "buku" according to the same principle like the `LSCOLORS` environment variables of the BSD
# `ls` command.
# The five letters represent the colors in ordered form of
# - index
# - title
# - url
# - description/comment/note
# - tag
#
# See the GitHub repository wiki for details about available letters and their meaning.
# @see https://github.com/jarun/Buku/wiki/Customize-colors
export BUKU_COLORS="hOghE"
3 changes: 3 additions & 0 deletions snowblocks/bash/core/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# +--- atom ---+
alias atom-hidpi='atom --force-device-scale-factor=1.5'

# +--- buku ---+
alias bk='buku'

# +--- java ---+
alias jj='java -jar'
alias sbrd='mvn spring-boot:run -Drun.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"'
Expand Down

0 comments on commit 68e0289

Please sign in to comment.