Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ss49919201/dotfiles

Repository files navigation

Manual setup

Symbolic link

Note: 以下のコマンドは dotfiles を ~/src/dotfiles に配置している個人環境のパスです。各自のクローン先に合わせて読み替えてください。

$ ln -s ~/src/dotfiles/_vimrc ~/.vimrc
$ ln -s ~/src/dotfiles/_zshrc ~/.zshrc
$ ln -s ~/src/dotfiles/_zprofile ~/.zprofile
$ ln -s ~/src/dotfiles/_wezterm.lua ~/.wezterm.lua
$ ln -s ~/src/dotfiles/nvim ~/.config/nvim
$ ln -s ~/src/dotfiles/lazyvim ~/.config/nvim
$ ln -s ~/src/dotfiles/ghostty/config ~/.config/ghostty/config

Desktop application

VSCode

Enable key-repeating.

defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false              # For VS Code
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false      # For VS Code Insider
defaults write com.vscodium ApplePressAndHoldEnabled -bool false                      # For VS Codium
defaults write com.microsoft.VSCodeExploration ApplePressAndHoldEnabled -bool false   # For VS Codium Exploration users
defaults delete -g ApplePressAndHoldEnabled                                           # If necessary, reset global default

https://marketplace.visualstudio.com/items?itemName=vscodevim.vim

Haskell

$ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

Welcome to Haskell!

This script can download and install the following binaries:

- ghcup - The Haskell toolchain installer
- ghc - The Glasgow Haskell Compiler
- cabal - The Cabal build tool for managing Haskell software
- stack - A cross-platform program for developing Haskell projects (similar to cabal)
- hls - (optional) A language server for developers to integrate with their editor/IDE

ghcup installs only into the following directory,
which can be removed anytime:
/Users/sakaeshinya/.ghcup

Press ENTER to proceed or ctrl-c to abort.
Note that this script can be re-run at any given time.

---

Detected zsh shell on your system...
Do you want ghcup to automatically add the required PATH variable to "/Users/sakaeshinya/.zshrc"?

[P] Yes, prepend [A] Yes, append [N] No [?] Help (default is "P").

## N

Do you want to install haskell-language-server (HLS)?
HLS is a language-server that provides IDE-like functionality
and can integrate with different editors, such as Vim, Emacs, VS Code, Atom, ...
Also see https://haskell-language-server.readthedocs.io/en/stable/

[Y] Yes [N] No [?] Help (default is "N").

## Y

Do you want to enable better integration of stack with GHCup?
This means that stack won't install its own GHC versions, but uses GHCup's.
For more information see:
https://docs.haskellstack.org/en/stable/yaml_configuration/#ghc-installation-customisation-experimental
If you want to keep stacks vanilla behavior, answer 'No'.

[Y] Yes [N] No [?] Help (default is "Y").

Y
sh: line 138: /Users/sakaeshinya/.ghcup/bin/ghcup: No such file or directory
"ghcup --metadata-fetching-mode=Strict upgrade" failed!

<snip>

About

My dotfiles 📁

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •