fish initialization remake
This commit is contained in:
14
fishrc
14
fishrc
@@ -1,11 +1,3 @@
|
||||
# ~/.config/fish/config.fish
|
||||
# echo "source $LWS/fishrc" > $__fish_config_dir/conf.d/lws.fish
|
||||
|
||||
# $__fish_config_dir/conf.d (by default, ~/.config/fish/conf.d/)
|
||||
# $__fish_sysconf_dir/conf.d (by default, /etc/fish/conf.d/)
|
||||
|
||||
set -gx PAGER less
|
||||
set -g fish_prompt_pwd_dir_length 0
|
||||
|
||||
# set -g fish_autosuggestion_enabled 0
|
||||
# fish_config theme choose "fish default"
|
||||
for file in (dirname (status -f))/rc.fish/*.fish
|
||||
source $file
|
||||
end
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# Linux Workspace Functions
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [ -z "$time_ms" ]; then
|
||||
readonly time_ms='date +%s%3N'
|
||||
|
||||
5
rc.fish/01-init.fish
Normal file
5
rc.fish/01-init.fish
Normal file
@@ -0,0 +1,5 @@
|
||||
set -gx PAGER less
|
||||
set -g fish_prompt_pwd_dir_length 0
|
||||
|
||||
# set -g fish_autosuggestion_enabled 0
|
||||
# fish_config theme choose "fish default"
|
||||
Reference in New Issue
Block a user