update
This commit is contained in:
parent
c6ba20ca58
commit
66445d30e0
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[submodule "dotbot"]
|
||||||
|
path = dotbot
|
||||||
|
url = https://github.com/anishathalye/dotbot
|
||||||
|
ignore = dirty
|
@ -6,20 +6,11 @@ import = [
|
|||||||
|
|
||||||
live_config_reload = true
|
live_config_reload = true
|
||||||
|
|
||||||
# ipc_socket = true | false # (unix only)
|
|
||||||
# Offer IPC using alacritty msg
|
|
||||||
# Default: true
|
|
||||||
|
|
||||||
# ipc_socket = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ENV
|
# ENV
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
#TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
TERM = "alacritty"
|
#TERM = "alacritty"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -27,14 +18,13 @@ TERM = "alacritty"
|
|||||||
|
|
||||||
[window]
|
[window]
|
||||||
startup_mode = "Windowed"
|
startup_mode = "Windowed"
|
||||||
title = "eTerm"
|
|
||||||
dynamic_title = true
|
dynamic_title = true
|
||||||
dynamic_padding = true
|
dynamic_padding = true
|
||||||
decorations = "Full"
|
decorations = "Full"
|
||||||
decorations_theme_variant = "Dark"
|
decorations_theme_variant = "Dark"
|
||||||
opacity = 0.8
|
opacity = 0.8
|
||||||
blur = true
|
blur = true
|
||||||
dimensions = { columns = 160, lines = 45 }
|
dimensions = { columns = 180, lines = 60 }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -48,7 +38,7 @@ multiplier = 3
|
|||||||
# FONT
|
# FONT
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "Hack Nerd Font Mono" }
|
normal = { family = "Hack Nerd Font Mono" }
|
||||||
size = 13
|
size = 15
|
||||||
builtin_box_drawing = true
|
builtin_box_drawing = true
|
||||||
|
|
||||||
|
|
||||||
@ -510,64 +500,15 @@ hide_when_typing = false
|
|||||||
|
|
||||||
# Example:
|
# Example:
|
||||||
|
|
||||||
# [keyboard]
|
[keyboard]
|
||||||
# bindings = [
|
bindings = [
|
||||||
# { key = "N", mods = "Control|Shift", action = "CreateNewWindow" },
|
{ key = "N", mods = "Control|Shift", action = "CreateNewWindow" },
|
||||||
# { key = "L", mods = "Control|Shift", chars = "l" },
|
{ key = "L", mods = "Control|Shift", chars = "l" },
|
||||||
# ]
|
]
|
||||||
|
|
||||||
#[keyboard]
|
|
||||||
|
|
||||||
|
|
||||||
# DEBUG
|
|
||||||
# This section documents the [debug] table of the configuration file.
|
|
||||||
# Debug options are meant to help troubleshoot issues with Alacritty. These can change or be removed entirely without warning, so their stability shouldn't be relied upon.
|
|
||||||
|
|
||||||
# render_timer = true | false
|
|
||||||
# Display the time it takes to draw each frame.
|
|
||||||
# Default: false
|
|
||||||
|
|
||||||
# persistent_logging = true | false
|
|
||||||
# Keep the log file after quitting Alacritty.
|
|
||||||
# Default: false
|
|
||||||
# log_level = "Off" | "Error" | "Warn" | "Info" | "Debug" | "Trace"
|
|
||||||
# Default: "Warn"
|
|
||||||
|
|
||||||
# To add extra libraries to logging ALACRITTY_EXTRA_LOG_TARGETS variable can be used.
|
|
||||||
# Example:
|
|
||||||
|
|
||||||
# ALACRITTY_EXTRA_LOG_TARGETS="winit;vte" alacritty -vvv
|
|
||||||
|
|
||||||
# renderer = "glsl3" | "gles2" | "gles2_pure" | "None"
|
|
||||||
# Force use of a specific renderer, "None" will use the highest available one.
|
|
||||||
# Default: "None"
|
|
||||||
|
|
||||||
# print_events = true | false
|
|
||||||
# Log all received window events.
|
|
||||||
# Default: false
|
|
||||||
|
|
||||||
# highlight_damage = true | false
|
|
||||||
# Highlight window damage information.
|
|
||||||
# Default: false
|
|
||||||
|
|
||||||
# prefer_egl = true | false
|
|
||||||
# Use EGL as display API if the current platform allows it. Note that transparency may not work with EGL on Linux/BSD.
|
|
||||||
# Default: false
|
|
||||||
|
|
||||||
#[debug]
|
|
||||||
|
|
||||||
|
|
||||||
# SEE ALSO
|
|
||||||
# alacritty(1), alacritty-msg(1), alacritty-bindings(5)
|
|
||||||
|
|
||||||
# BUGS
|
|
||||||
# Found a bug? Please report it at https://github.com/alacritty/alacritty/issues.
|
|
||||||
|
|
||||||
# MAINTAINERS
|
|
||||||
# · Christian Duerr <contact@christianduerr.com>
|
|
||||||
# · Kirill Chibisov <contact@kchibisov.com>
|
|
||||||
|
|
||||||
[shell]
|
[shell]
|
||||||
program="/opt/homebrew/bin/tmux"
|
#program="/opt/homebrew/bin/tmux"
|
||||||
args=['new-session', '-A', '-s', 'eMac']
|
program={{ SHELL }}
|
||||||
|
args=['new-session', '-A', '-s', 'Tmux']
|
||||||
|
|
18
bash/gcommands
Normal file
18
bash/gcommands
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
check_envs(var) {
|
||||||
|
local command="$2"
|
||||||
|
|
||||||
|
if [[ -z "${!env_var}" ]]; then
|
||||||
|
read -rp "Enter value for $env_var: " "${env_var}"
|
||||||
|
export "$env_var=${!env_var}" #Export the variable to be accessible by child processes
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${!env_var}" ]]; then
|
||||||
|
eval "$command"
|
||||||
|
else
|
||||||
|
echo "Environment variable $env_var is not set. Command not executed."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Example usage:
|
||||||
|
# run_with_env MY_API_KEY "curl -H \"Authorization: Bearer $MY_API_KEY\" https://api.example.com"
|
||||||
|
# run_with_env DATABASE_URL "psql $DATABASE_URL -c 'SELECT * FROM users;'"
|
1
dotbot
Submodule
1
dotbot
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 9cd5d073f2253e24368d8e0e6029b838d2d2222c
|
15
install
Executable file
15
install
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
CONFIG="install.conf.yaml"
|
||||||
|
DOTBOT_DIR="dotbot"
|
||||||
|
|
||||||
|
DOTBOT_BIN="bin/dotbot"
|
||||||
|
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
|
cd "${BASEDIR}"
|
||||||
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||||
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||||
|
|
||||||
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
29
install.conf.yaml
Normal file
29
install.conf.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
- defaults:
|
||||||
|
link:
|
||||||
|
relink: true
|
||||||
|
|
||||||
|
- clean: ['~']
|
||||||
|
- template:
|
||||||
|
- ~/.config/alacritty.toml:
|
||||||
|
source_file: alacritty.toml
|
||||||
|
params:
|
||||||
|
shell: John Doe
|
||||||
|
- link:
|
||||||
|
~/.config/alacritty: alacritty
|
||||||
|
|
||||||
|
|
||||||
|
~/.zshrc: zsh/.zshrc
|
||||||
|
~/.zprofile: zsh/.zprofile
|
||||||
|
|
||||||
|
~/.tmux.conf: tmux/.tmux.conf
|
||||||
|
|
||||||
|
~/.aliasrc: shell/.aliasrc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# - create:
|
||||||
|
# - ~/downloads
|
||||||
|
# - ~/.vim/undo-history
|
||||||
|
|
||||||
|
# - shell:
|
||||||
|
# - [git submodule update --init --recursive, Installing submodules]
|
@ -4,7 +4,7 @@ alias_list=(
|
|||||||
ll='ls -alF'
|
ll='ls -alF'
|
||||||
ls='ls -lah --color'
|
ls='ls -lah --color'
|
||||||
grep='grep --color=auto'
|
grep='grep --color=auto'
|
||||||
vi='nvim'
|
vi='vim'
|
||||||
lpg='cd ~/git/lucidpoint'
|
lpg='cd ~/git/lucidpoint'
|
||||||
ppg='cd ~/git/personal'
|
ppg='cd ~/git/personal'
|
||||||
downloads='cd ~/Downloads'
|
downloads='cd ~/Downloads'
|
||||||
|
@ -192,4 +192,7 @@ if [ -f '/Users/errol/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '
|
|||||||
export GOOGLE_APPLICATION_CREDENTIALS=/Users/errol/.config/gcloud/application_default_credentials.json
|
export GOOGLE_APPLICATION_CREDENTIALS=/Users/errol/.config/gcloud/application_default_credentials.json
|
||||||
|
|
||||||
alias gam="/home/errol/bin/gamadv-xtd3/gam"
|
alias gam="/home/errol/bin/gamadv-xtd3/gam"
|
||||||
source <(kubectl completion zsh)
|
if which kubectl &> /dev/null
|
||||||
|
then
|
||||||
|
source <(kubectl completion zsh)
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user