Merge pull request #1 from DaveanandMannie/linux_rebase_main

UNIFIED
This commit is contained in:
Daveanand Mannie
2025-10-15 22:21:14 -04:00
committed by GitHub
5 changed files with 16 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
header: true
layout: tree
layout: oneline
recursion:
enabled: true
depth: 1

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Name=WezTerm
Comment=Wez's Terminal Emulator
Exec=wezterm --config-file /home/daveanand/.config/nvim/config_files/wezterm.lua
Icon=/home/daveanand/.local/repos/wezterm/assets/icon/terminal.png
Terminal=false
Type=Application
Categories=Utility;TerminalEmulator;

View File

@@ -2,9 +2,11 @@
local wezterm = require("wezterm")
local config = wezterm.config_builder()
-- workspace dir default
config.default_cwd = os.getenv("HOMEPATH") .. "/workspace"
config.default_cwd = os.getenv("HOMEPATH") or os.getenv("HOME").. "/workspace"
-- default term prog can be changed with cli args
if os.getenv("pwsh") then
config.default_prog = { "pwsh" }
end
--styles
config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" }

View File

@@ -57,20 +57,4 @@ if vim.fn.has("wsl") == 1 then
\ 'cache_enabled': 0,
\ }
]])
elseif vim.fn.has("unix") == 1 then
-- Native Linux-specific clipboard configuration
vim.cmd([[
let g:clipboard = {
\ 'name': 'LinuxClipboard',
\ 'copy': {
\ '+': 'xclip -selection clipboard',
\ '*': 'xclip -selection primary',
\ },
\ 'paste': {
\ '+': 'xclip -selection clipboard -o',
\ '*': 'xclip -selection primary -o',
\ },
\ 'cache_enabled': 0,
\ }
]])
end

View File

@@ -95,15 +95,9 @@ fi
# export ARCHFLAGS="-arch $(uname -m)"
export LESS="-R"
export WEZTERM_CONFIG_FILE=~/.config/nvim/config_files/wezterm.lua
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=015,bold"
# ruby environement manager
eval "$(~/.local/repos/rbenv/bin/rbenv init - --no-rehash zsh)"
# go lang
export GOPATH=$HOME/workspace/go-tools
export GOBIN=$GOPATH/bin
export PATH="$GOBIN:/usr/local/go/bin:$PATH"
# wezterm
export WEZTERM_CONFIG_FILE=$HOME/.config/nvim/config_files/wezterm.lua
# Message of the day
# message of the day
~/.config/nvim/zsh/motd.sh