aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--install.conf.yaml12
-rw-r--r--wezterm.lua25
-rw-r--r--zshrc2
3 files changed, 14 insertions, 25 deletions
diff --git a/install.conf.yaml b/install.conf.yaml
index 36efa56..976095c 100644
--- a/install.conf.yaml
+++ b/install.conf.yaml
@@ -50,6 +50,18 @@
curl https://cht.sh/:bash_completion >~/.local/share/bash-completion/completions/cht;
curl https://cheat.sh/:zsh >~/.local/share/zsh/site-functions/_cht)
+ - description: Installing gh
+ command: td=$(mktemp -d) &&
+ arch="$(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/ | sed s/armv7l/armv6/)" &&
+ tag="$(curl -sI https://github.com/cli/cli/releases/latest | grep -Po 'tag\/v?\K(\S+)')" &&
+ name="gh_${tag}_linux_${arch}" &&
+ url="https://github.com/cli/cli/releases/latest/download/${name}.tar.gz" &&
+ curl -sL $url | tar -C $td -xz &&
+ test -x $td/$name/bin/gh &&
+ install -Dm 755 $td/$name/bin/gh ~/.local/bin/gh && (
+ gh completion --shell bash >~/.local/share/bash-completion/completions/gh;
+ gh completion --shell zsh >~/.local/share/zsh/site-functions/_gh)
+
- description: Installing git-open
command:
curl -sL "https://raw.githubusercontent.com/paulirish/git-open/master/git-open" >~/.local/bin/git-open &&
diff --git a/wezterm.lua b/wezterm.lua
deleted file mode 100644
index 5704160..0000000
--- a/wezterm.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-
-local wezterm = require 'wezterm';
-return {
- ssh_domains = {
- {
- -- This name identifies the domain
- name = "odin",
- -- The address to connect to
- remote_address = "tobyvin.com:2222",
- -- The username to use on the remote host
- username = "tobyv",
- }
- },
- default_prog = {"wsl.exe"},
- color_scheme = "Dark+",
- font = wezterm.font("FiraCode NF"),
- font_size = 11.0,
- harfbuzz_features = {"zero"},
- window_background_opacity = 0.95,
- use_dead_keys = false,
- window_close_confirmation = "NeverPrompt",
- initial_cols = 120,
- initial_rows = 30,
- hide_tab_bar_if_only_one_tab = true
-} \ No newline at end of file
diff --git a/zshrc b/zshrc
index cc67dc8..de35499 100644
--- a/zshrc
+++ b/zshrc
@@ -22,3 +22,5 @@ function set_win_title() {
}
precmd_functions+=(set_win_title)
+autoload -U compinit
+compinit -i \ No newline at end of file