mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
sync: from Linux
This commit is contained in:
parent
485d7eada5
commit
dc4647915f
6 changed files with 39 additions and 3 deletions
|
|
@ -11,7 +11,8 @@ mkdir -p ~/.config/zellij ~/.config/yazi ~/.config/glow
|
||||||
mkdir -p $HOME/Obsidian
|
mkdir -p $HOME/Obsidian
|
||||||
# $DOTFILES/common
|
# $DOTFILES/common
|
||||||
ln -sf $DOTFILES/common/condarc.yaml $XDG_CONFIG_HOME/conda/.condarc
|
ln -sf $DOTFILES/common/condarc.yaml $XDG_CONFIG_HOME/conda/.condarc
|
||||||
ln -sf $DOTFILES/common/gitconfig $XDG_CONFIG_HOME/git/config
|
# ln -sf $DOTFILES/common/gitconfig $XDG_CONFIG_HOME/git/config
|
||||||
|
cp $DOTFILES/common/gitconfig.example $XDG_CONFIG_HOME/git/config
|
||||||
ln -sf $DOTFILES/common/glow.yaml ~/.config/glow/config.yml
|
ln -sf $DOTFILES/common/glow.yaml ~/.config/glow/config.yml
|
||||||
ln -sf $DOTFILES/common/haskeline ~/.haskeline
|
ln -sf $DOTFILES/common/haskeline ~/.haskeline
|
||||||
ln -sf $DOTFILES/common/ideavimrc $XDG_CONFIG_HOME/ideavim/ideavimrc
|
ln -sf $DOTFILES/common/ideavimrc $XDG_CONFIG_HOME/ideavim/ideavimrc
|
||||||
|
|
|
||||||
19
bootstrap/tmp.zsh
Normal file
19
bootstrap/tmp.zsh
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
export DOTFILES=~/.dotfiles
|
||||||
|
export ZDOTDIR=~/.config/zsh
|
||||||
|
|
||||||
|
mkdir -p $ZDOTDIR
|
||||||
|
mkdir -p $DOTFILES
|
||||||
|
|
||||||
|
git clone https://github.com/js0ny/dotfiles $DOTFILES
|
||||||
|
|
||||||
|
sudo cp $DOTFILES/tools/zsh/global.zshenv /etc/zsh/zshenv
|
||||||
|
|
||||||
|
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
|
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||||
|
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||||
|
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||||
|
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p $XDG_CONFIG_HOME $XDG_DATA_HOME $XDG_STATE_HOME $XDG_CACHE_HOME
|
||||||
|
|
||||||
0
common/NuGet.Config
Normal file → Executable file
0
common/NuGet.Config
Normal file → Executable file
15
platforms/linux/zshrc
Normal file
15
platforms/linux/zshrc
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Use powerline
|
||||||
|
USE_POWERLINE="true"
|
||||||
|
# Has weird character width
|
||||||
|
# Example:
|
||||||
|
# is not a diamond
|
||||||
|
HAS_WIDECHARS="false"
|
||||||
|
alias open=dolphin
|
||||||
|
# Source manjaro-zsh-configuration
|
||||||
|
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
|
||||||
|
source /usr/share/zsh/manjaro-zsh-config
|
||||||
|
fi
|
||||||
|
# Use manjaro zsh prompt
|
||||||
|
# if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
|
||||||
|
# source /usr/share/zsh/manjaro-zsh-prompt
|
||||||
|
# fi
|
||||||
|
|
@ -28,7 +28,8 @@ truncation_length = 2
|
||||||
truncate_to_repo = true
|
truncate_to_repo = true
|
||||||
read_only = " "
|
read_only = " "
|
||||||
style ="bold cyan"
|
style ="bold cyan"
|
||||||
truncation_symbol = ".../"
|
truncation_symbol = ":"
|
||||||
|
fish_style_pwd_dir_length = 1
|
||||||
|
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
"~/Documents" = " "
|
"~/Documents" = " "
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
# $ZDOTDIR/.zshenv (specified by ZDOTDIR)
|
# $ZDOTDIR/.zshenv (specified by ZDOTDIR)
|
||||||
# ~/.zshenv (default location)
|
# ~/.zshenv (default location)
|
||||||
# Linking:
|
# Linking:
|
||||||
# ln -sf $DOTFILES/tools/zsh/.zshenv $ZDOTDIR/.zshenv
|
# ln -sf $DOTFILES/tools/zsh/zshenv $ZDOTDIR/.zshenv
|
||||||
# This file is sourced by all zsh sessions upon startup.
|
# This file is sourced by all zsh sessions upon startup.
|
||||||
|
|
||||||
# For me (this user), define XDG Base Directory Specification variables
|
# For me (this user), define XDG Base Directory Specification variables
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue