life-sync-1.1.1.0: Synchronize personal configs across multiple machines.
Copyright(c) 2017-2020 Kowainik
LicenseMPL-2.0
MaintainerKowainik <xrom.xkov@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Life.Path

Description

This module contains utility functions to work with shell.

Synopsis

Constants

lifePath :: Path Rel File Source #

Name for life configuration file.

repoName :: Path Rel Dir Source #

Default repository name for life configuration files.

Functions

createDirInHome :: Path Rel Dir -> IO (Path Abs Dir) Source #

Creates directory with name "folder" under "~/folder".

relativeToHome :: MonadIO m => Path Rel t -> m (Path Abs t) Source #

Creates path relative to home directory