Skip to content

Commit b326051

Browse files
committed
Merge remote-tracking branch 'origin/develop' into feature/100-documentation
2 parents dbd7dca + ee816a8 commit b326051

File tree

8 files changed

+29
-27
lines changed

8 files changed

+29
-27
lines changed

arch/init.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# Source: https://gist.github.com/bouroo/b750d3fa357362772082407cfa21fb4a
55
# Fork: https://gist.github.com/jcchikikomori/0984ae8111496ea7544b6452adbbe180
66

7+
# Backup mirrorlist
8+
cp -f /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
9+
# Install essential packages
10+
pacman -Syy --noconfirm --noprogressbar sudo gvim nano htop iftop mtr dkms lz4 bash-completion base-devel pacman-contrib git zsh unzip
711
# Init pacman mirror
812
curl -s -L "https://archlinux.org/mirrorlist/?country=CN&country=JP&country=SG&country=KR&protocol=https&ip_version=4&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' > /etc/pacman.d/mirrorlist
913
# Init key
@@ -12,8 +16,5 @@ pacman-key --init
1216
pacman-key --populate archlinux
1317
# Sync repo
1418
pacman -Syyu --noconfirm --noprogressbar
15-
# Install essential packages
16-
pacman -S --noconfirm --noprogressbar sudo gvim nano htop iftop mtr dkms lz4 bash-completion base-devel pacman-contrib git zsh unzip
17-
# Sort repo by speed
18-
cp -f /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
19+
# Sort repo by speed (pacman-contrib package required)
1920
rankmirrors -n 5 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist

arch/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ mkdir -p temp && cd temp/
1313
# Install yay
1414
git clone https://aur.archlinux.org/yay.git $HOME/yay
1515
cd $HOME/yay
16-
sudo makepkg -si --noconfirm
16+
makepkg -si --noconfirm
1717
cd ../..
1818
rm -rf temp/
1919

2020
# Chaotic AUR
2121
if ! grep -q "\[chaotic-aur\]" /etc/pacman.conf; then
2222
echo 'Importing essential keys...'
23-
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
23+
sudo pacman-key --recv-key 3056513887B78AEB --keyserver hkp://keyserver.ubuntu.com:80
2424
echo 'Signing keys...'
2525
sudo pacman-key --lsign-key 3056513887B78AEB
2626
echo 'Begin installing Chaotic AUR...'

linux/systems/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ echo 'Cleaning up VSCode...'
3838
rm -rf $HOME/.vscode
3939
rm -rf $HOME/.vscode-server
4040

41-
echo 'Cleaning up scripts...'
42-
if [ -f "$HOME/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup-bin" ]; then
43-
sh $HOME/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup-bin
44-
else
45-
echo "Warning: $HOME/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup-bin does not exist. Skipping script cleanup."
46-
fi
41+
# echo 'Cleaning up scripts...'
42+
# if [ -f "$HOME/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup-bin" ]; then
43+
# sh $HOME/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup-bin
44+
# else
45+
# echo "Warning: $HOME/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-cleanup-bin does not exist. Skipping script cleanup."
46+
# fi
4747

4848
echo 'Cleaning up other files...'
4949
rm -f $HOME/.gitconfig

linux/systems/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-nodejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh
44

55
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
66
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
7-
nvm install 18 --lts
7+
nvm install 22 --lts

linux/systems/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-post-setup

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ main() {
9494
git clone -q --depth 1 https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm || true
9595

9696
echo 'Setting up Starship prompt...'
97+
mkdir -p ~/.local/bin
9798
curl -fsSL https://starship.rs/install.sh | sh -s -- -b ~/.local/bin -f
9899

99100
echo 'Setting up Antigen...'
@@ -104,8 +105,9 @@ main() {
104105
mkdir -p ~/.config/alacritty/themes
105106
git clone https://github.com/alacritty/alacritty-theme ~/.config/alacritty/themes
106107

107-
echo 'Setting up Nerd Fonts...'
108-
sh $WORKDIR/dotfiles-nerf --all
108+
echo 'Setting up some Nerd Fonts...'
109+
sh $WORKDIR/dotfiles-nerf JetBrainsMono FiraCode
110+
sh $WORKDIR/dotfiles-nerf --smoke-test
109111

110112
prompt_installation "python with pyenv" "dotfiles-python"
111113
prompt_installation "pre-commit" "dotfiles-python--pre-commit"

linux/systems/.local/bin/org.jcchikikomori.dotfiles/bin/dotfiles-ruby

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ install_action() {
183183
distro=$(read_distro)
184184
log "Detected distribution from cache: $distro"
185185
install_ruby_for "$distro"
186-
log "Ruby installation complete."
187186
}
188187

189188
update_action() {

linux/tmux/.tmux.conf.local

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,14 @@ tmux_conf_theme_window_status_last_bg="$tmux_conf_theme_colour_2"
233233
tmux_conf_theme_window_status_last_attr="none"
234234

235235
# status left/right sections separators
236-
#tmux_conf_theme_left_separator_main=""
237-
#tmux_conf_theme_left_separator_sub="|"
238-
#tmux_conf_theme_right_separator_main=""
239-
#tmux_conf_theme_right_separator_sub="|"
240-
tmux_conf_theme_left_separator_main='\uE0B0' # /!\ you don't need to install Powerline
241-
tmux_conf_theme_left_separator_sub='\uE0B1' # you only need fonts patched with
242-
tmux_conf_theme_right_separator_main='\uE0B2' # Powerline symbols or the standalone
243-
tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see README.md
236+
tmux_conf_theme_left_separator_main=""
237+
tmux_conf_theme_left_separator_sub="|"
238+
tmux_conf_theme_right_separator_main=""
239+
tmux_conf_theme_right_separator_sub="|"
240+
#tmux_conf_theme_left_separator_main='\uE0B0' # /!\ you don't need to install Powerline
241+
#tmux_conf_theme_left_separator_sub='\uE0B1' # you only need fonts patched with
242+
#tmux_conf_theme_right_separator_main='\uE0B2' # Powerline symbols or the standalone
243+
#tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see README.md
244244

245245
# status left/right content:
246246
# - separate main sections with "|"
@@ -384,10 +384,10 @@ tmux_conf_urlscan_options="--compact --dedupe"
384384
# this is the place to override or undo settings
385385

386386
# increase history size
387-
#set -g history-limit 10000
387+
set -g history-limit 10000
388388

389389
# start with mouse mode enabled
390-
#set -g mouse on
390+
set -g mouse on
391391

392392
# force Vi mode
393393
# really you should export VISUAL or EDITOR environment variable, see manual

linux/zsh/.zshrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ COMPLETION_WAITING_DOTS="true"
7171
# Example format: plugins=(rails git textmate ruby lighthouse)
7272
# Add wisely, as too many plugins slow down shell startup.
7373
# Note: Ensure to execute ~/.dotfiles/git-flow.sh before using other plugins
74-
plugins=(git git-flow-completion zsh-autosuggestions fast-syntax-highlighting)
74+
plugins=(brew git globalias gradle grails git-flow-completion zsh-autosuggestions fast-syntax-highlighting)
7575

7676

7777
# User configuration

0 commit comments

Comments
 (0)