Giter Site home page Giter Site logo

osgiliath's Introduction

osgiliath

Dotfiles - The Citadel of Stars


osgiliath


Installation

GNU stow is uses symlinks to place these dotfiles in the appropriate directories

First install stow

brew install stow

Next clone this repository into your $HOME

mkdir ~/.osgiliath
cd ~/.osgiliath
https://github.com/amanchokshi/osgiliath.git .

Install the dotfiles with

source install.sh

Ignore any errors in this script, they result from a bug in stow v2.3.1

Install neovim plugings by opening nvim and running the command :PlugInstall

nvim
:PlugInstall

plug-install

Notes

Virtual environments can be tough on python plugins. I create a pyenv virtualenv called tools where I install

pip install pynvim
pip install black
pip install flake8
pip install isort
pip install shellcheck

In my init.vim I tell nvim to uses the tools virtualenv as its python version

let g:python3_host_prog = expand("~/.pyenv/versions/tools/bin/python")

This works in ensuring that nvim can always find pynvim even in a virtualenv. Doing the same for other python is more complex.

First, I create a directory ~/.nvim/bin and add it to my path

export PATH="$HOME/.nvim/bin:$PATH"

Then, I link each python package in tools to ~/.nvim/bin using symlinks

ln -s `pyenv which flake8` ~/.nvim/bin/flake8
ln -s `pyenv which black` ~/.nvim/bin/black
ln -s `pyenv which isort` ~/.nvim/bin/isort
ln -s `which shellcheck` ~/.nvim/bin/shellcheck

This adds the packages to my PATH, and somehow makes linting work in all virtualenvs

SSHFS for MacOS

It is incredibly useful to be able to browse remote files in the finder. This can be done using the SSHFS program.

brew cask install osxfuse
brew install sshfs

Check out this article for more details on setting up SSHFS on MacOS.

To mount Ucalegon & Ozstar make the following directories and then use the aliases provided in my .zshrc

mkdir ~/Ucalegon
mkdir ~/Ozstar

# To mount the remote directories
ucalegon_sshfs
ozstar_sshfs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.