Fixes for macOS

This commit is contained in:
2022-11-30 12:27:20 +01:00
parent f3046216a2
commit 7c3e42202c
4 changed files with 19 additions and 5 deletions

View File

@@ -96,6 +96,13 @@ if test -d /usr/local/cuda
set PATH $PATH /usr/local/cuda/bin set PATH $PATH /usr/local/cuda/bin
end end
################################################################################
# RUST
################################################################################
if test -d $HOME/.cargo/bin
set PATH $PATH $HOME/.cargo/bin
end
################################################################################ ################################################################################
# Colortest # Colortest

View File

@@ -1,6 +1,6 @@
# This file contains fish universal variable definitions. # This file contains fish universal variable definitions.
# VERSION: 3.0 # VERSION: 3.0
SETUVAR __fish_initialized:3100 SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:969896 SETUVAR fish_color_autosuggestion:969896
SETUVAR fish_color_cancel:\x2dr SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:b294bb SETUVAR fish_color_command:b294bb
@@ -30,3 +30,5 @@ SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/usr/local/opt/curl/bin

4
.emacs
View File

@@ -223,6 +223,10 @@
(use-package yaml-mode) (use-package yaml-mode)
(use-package rustic
:hook
(rustic-mode . lsp-deferred)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; PYTHON ;; PYTHON
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View File

@@ -89,7 +89,7 @@ files=".config/fish \
function this_script_root_dir() { function this_script_root_dir() {
dirname $(realpath ${BASH_SOURCE[0]}) dirname ${BASH_SOURCE[0]}
} }
function run() { function run() {
@@ -223,17 +223,18 @@ function install_files() {
function update_oh_my_fish() { function update_oh_my_fish() {
echo "--- Updating Oh My Fish" echo "--- Updating Oh My Fish"
FISH=$(which fish)
if $VERBOSE if $VERBOSE
then then
echo "[/usr/bin/fish -c 'omf install']" echo "[$FISH -c 'omf install']"
fi fi
if ! $DRY if ! $DRY
then then
if $VERBOSE if $VERBOSE
then then
/usr/bin/fish -c 'omf install' $FISH -c 'omf install'
else else
/usr/bin/fish -c 'omf install' 1>/dev/null $FISH -c 'omf install' 1>/dev/null
fi fi
fi fi
} }