New Entity AI



dugout-> _pretty_things.dugout



Provide visual enhancement hooks for various system programs, including your default environments and IDEs


            
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/sh
###############################################################################
## COPYRIGHT (C) 2020-2026 NEW ENTITY OPERATIONS INC. and Additional Authors
## INSTANCE: pretty_things.dugout
## MODIFIED: 2026/04/20
## OVERVIEW: Provide visual enhancement hooks for various system programs,
## including your default environments and IDEs
##
## pretty_things allows you to enhance the standard output of various types of
## return objects that occur while operating your system. This can help enhance
## the visual layout of those processes.
###############################################################################
## Enhancements: Pretty em' up
###############################################################################
## curl
pretty_curl() {
 alias curl='curl -L'
}

## dir
pretty_dir() {
 eval "$(dircolors -b)"
 ## basic operations
 alias dir='dir --color=auto;'
}

## *grep
pretty_grep() {
 ## *grep
 alias egrep='egrep --color=auto'
 alias fgrep='fgrep --color=auto'
 alias grep='grep --color=auto'
}

## diff
pretty_diff() {
 alias diff='diff --color=auto'
}

## ip
pretty_ip() {
 alias ip='ip -c=auto'
}

## ls_user
pretty_ls_user() {
 alias ls='ls --color=auto'
 ## Enhancement: LS_COLORS
 LS_COLORS="$LS_COLORS":'di=01;31:'
 export LS_COLORS
}

## ls_root
pretty_ls_root() {
 alias ls="ls --color=auto"
 ## Enhancement: LS_COLORS
 LS_COLORS="$LS_COLORS":'di=01;34:'
 export LS_COLORS
}

## MANPAGER
pretty_MANPAGER() {
 ## -> Use: Colorize the Manpages: Also see /etc/man_db.conf
 export MANPAGER="less -R --use-color -Dd+r -Du+b"
}

## nano
pretty_nano() {
 alias nano='nano -c'
}

## ps_user
pretty_ps_user() {
 ## Default user Terminal Emulator style
 PS1='\[\033[1;60m\]\u:\[\033[1;24m\] \W\[\033[0;31m\] \$ \[\033[0m\]'
}

## ps_root
pretty_ps_root() {
 ## Default root Terminal Emulator style
 PS1='\[\033[1;36m\]\u: \[\033[1;33m\] \W\[\033[1;34m\] \$ \[\033[1;33m\]'
}

## vdir
pretty_vdir() {
 alias vdir='vdir --color=auto;'
}

## Pretty-up the man command
man() {
 community_pretty_man
}