https://github.com/marhop/dotfiles
Configuration files for my shell environment
https://github.com/marhop/dotfiles
dotfiles
Last synced: 3 months ago
JSON representation
Configuration files for my shell environment
- Host: GitHub
- URL: https://github.com/marhop/dotfiles
- Owner: marhop
- License: wtfpl
- Created: 2017-10-12T19:52:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T12:07:44.000Z (7 months ago)
- Last Synced: 2024-10-25T12:10:37.966Z (7 months ago)
- Topics: dotfiles
- Language: Vim Script
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Configuration files for my shell environment.
# Installation
1. Make sure the following prerequisites are installed (package names are for
Debian/Arch). In any case:* The [stow] package for "installation" of the config files.
* Obviously, the bash, git, tmux, and vim packages.
* The bash-completion package for Bash tab completion.For Haskell development:
* GHC, cabal and HLS via [ghcup].
* Then, the [hlint] linter and the [ormolu] formatter via `cabal install`.For Python development:
* The pipenv/python-pipenv (packaging, dependency management, virtual
environments) flake8 (linting), python3-autopep8/autopep8 (auto-formatting)
and mypy (static type annotations) packages.2. Configure terminal emulator (Gnome Terminal, Putty, ...) for use with the
[Nord][nord] color theme.3. Clone to `~/.dotfiles/`.
4. Inside the cloned repository, run `stow` for each required set of config
files to create the respective symlinks in `~`. Example:~~~console
$ stow bash
$ stow vim
$ stow haskell
~~~5. Install the [vim-plug] plugin manager for Vim. Then run `:PlugUpdate` from
inside Vim to install all plugins listed in the `.vimrc` file.[stow]: https://www.gnu.org/software/stow/
[ghcup]: https://www.haskell.org/ghcup/
[hlint]: https://github.com/ndmitchell/hlint
[ormolu]: https://github.com/tweag/ormolu
[nord]: https://www.nordtheme.com/
[vim-plug]: https://github.com/junegunn/vim-plug# Random usage notes
## Haskell development
Start new projects:
~~~console
$ mkdir my-project
$ cd my-project
$ cabal init -i
...
$ cabal build
$ cabal run
~~~See also
.## Python development
Start new projects in a virtual environment:
~~~console
$ cd my-project
$ pipenv install [whatever] # no package just creates a Pipfile
$ pipenv shell
...
$ exit
~~~